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