Struct bitfield_layout::Flag [−][src]
Expand description
Handle flag’s position, state and value
Fields
position: usize
is_set: bool
value: T
Trait Implementations
Simple formatting: + for setted flag and - otherwise
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for Flag<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Flag<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more