pub struct Flags8(/* private fields */);Expand description
Condenses 8 booleans into a single u8.
Implementations§
Trait Implementations§
Source§impl BitAndAssign<u8> for Flags8
Available on crate feature operators only.
impl BitAndAssign<u8> for Flags8
Available on crate feature
operators only.Source§fn bitand_assign(&mut self, rhs: u8)
fn bitand_assign(&mut self, rhs: u8)
Performs the
&= operation. Read moreSource§impl BitAndAssign for Flags8
Available on crate feature operators only.
impl BitAndAssign for Flags8
Available on crate feature
operators only.Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOrAssign<u8> for Flags8
Available on crate feature operators only.
impl BitOrAssign<u8> for Flags8
Available on crate feature
operators only.Source§fn bitor_assign(&mut self, rhs: u8)
fn bitor_assign(&mut self, rhs: u8)
Performs the
|= operation. Read moreSource§impl BitOrAssign for Flags8
Available on crate feature operators only.
impl BitOrAssign for Flags8
Available on crate feature
operators only.Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXorAssign<u8> for Flags8
Available on crate feature operators only.
impl BitXorAssign<u8> for Flags8
Available on crate feature
operators only.Source§fn bitxor_assign(&mut self, rhs: u8)
fn bitxor_assign(&mut self, rhs: u8)
Performs the
^= operation. Read moreSource§impl BitXorAssign for Flags8
Available on crate feature operators only.
impl BitXorAssign for Flags8
Available on crate feature
operators only.Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl ShlAssign<u8> for Flags8
Available on crate feature operators only.
impl ShlAssign<u8> for Flags8
Available on crate feature
operators only.Source§fn shl_assign(&mut self, rhs: u8)
fn shl_assign(&mut self, rhs: u8)
Performs the
<<= operation. Read moreSource§impl ShrAssign<u8> for Flags8
Available on crate feature operators only.
impl ShrAssign<u8> for Flags8
Available on crate feature
operators only.Source§fn shr_assign(&mut self, rhs: u8)
fn shr_assign(&mut self, rhs: u8)
Performs the
>>= operation. Read moreimpl Copy for Flags8
impl Eq for Flags8
impl StructuralPartialEq for Flags8
Auto Trait Implementations§
impl Freeze for Flags8
impl RefUnwindSafe for Flags8
impl Send for Flags8
impl Sync for Flags8
impl Unpin for Flags8
impl UnsafeUnpin for Flags8
impl UnwindSafe for Flags8
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