pub struct Flags8(/* private fields */);Expand description
Condenses 8 booleans into a single u8.
Implementations§
Trait Implementations§
Source§impl BitAndAssign<u8> for Flags8
impl BitAndAssign<u8> for Flags8
Source§fn bitand_assign(&mut self, rhs: u8)
fn bitand_assign(&mut self, rhs: u8)
Performs the
&= operation. Read moreSource§impl BitAndAssign for Flags8
impl BitAndAssign for Flags8
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
impl BitOrAssign<u8> for Flags8
Source§fn bitor_assign(&mut self, rhs: u8)
fn bitor_assign(&mut self, rhs: u8)
Performs the
|= operation. Read moreSource§impl BitOrAssign for Flags8
impl BitOrAssign for Flags8
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
impl BitXorAssign<u8> for Flags8
Source§fn bitxor_assign(&mut self, rhs: u8)
fn bitxor_assign(&mut self, rhs: u8)
Performs the
^= operation. Read moreSource§impl BitXorAssign for Flags8
impl BitXorAssign for Flags8
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
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