#[repr(C)]pub enum FlagsSense {
Set = 0,
Reset = 1,
Toggle = 2,
}
Expand description
Specifies the method used to set or unset flags when setting flags
for a Component
.
Variants§
Set = 0
Set the specified flags that are not currently set.
Reset = 1
Unset the specified flags that are currently set.
Toggle = 2
Toggle the specified flags.
Trait Implementations§
Source§impl Clone for FlagsSense
impl Clone for FlagsSense
Source§fn clone(&self) -> FlagsSense
fn clone(&self) -> FlagsSense
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for FlagsSense
Auto Trait Implementations§
impl Freeze for FlagsSense
impl RefUnwindSafe for FlagsSense
impl Send for FlagsSense
impl Sync for FlagsSense
impl Unpin for FlagsSense
impl UnwindSafe for FlagsSense
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more