Struct atspi::InterfaceSet
source · pub struct InterfaceSet(_);Implementations
sourceimpl InterfaceSet
impl InterfaceSet
pub fn new<B: Into<BitFlags<Interface>>>(value: B) -> Self
pub fn empty() -> InterfaceSet
pub fn bits(&self) -> u32
pub fn contains<B: Into<BitFlags<Interface>>>(self, other: B) -> bool
pub fn insert<B: Into<BitFlags<Interface>>>(&mut self, other: B)
pub fn iter(self) -> impl Iterator<Item = Interface>
Trait Implementations
sourceimpl BitXor<InterfaceSet> for InterfaceSet
impl BitXor<InterfaceSet> for InterfaceSet
sourceimpl Clone for InterfaceSet
impl Clone for InterfaceSet
sourcefn clone(&self) -> InterfaceSet
fn clone(&self) -> InterfaceSet
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for InterfaceSet
impl Debug for InterfaceSet
sourceimpl<'de> Deserialize<'de> for InterfaceSet
impl<'de> Deserialize<'de> for InterfaceSet
sourcefn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl From<Interface> for InterfaceSet
impl From<Interface> for InterfaceSet
sourceimpl PartialEq<InterfaceSet> for InterfaceSet
impl PartialEq<InterfaceSet> for InterfaceSet
sourcefn eq(&self, other: &InterfaceSet) -> bool
fn eq(&self, other: &InterfaceSet) -> bool
sourceimpl Serialize for InterfaceSet
impl Serialize for InterfaceSet
sourceimpl Type for InterfaceSet
impl Type for InterfaceSet
impl Copy for InterfaceSet
impl Eq for InterfaceSet
impl StructuralEq for InterfaceSet
impl StructuralPartialEq for InterfaceSet
Auto Trait Implementations
impl RefUnwindSafe for InterfaceSet
impl Send for InterfaceSet
impl Sync for InterfaceSet
impl Unpin for InterfaceSet
impl UnwindSafe for InterfaceSet
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de> + ?Sized,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de> + ?Sized,
type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
impl<T> DynamicType for Twhere
T: Type + ?Sized,
impl<T> DynamicType for Twhere
T: Type + ?Sized,
fn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more