pub struct Flags16(/* private fields */);Expand description
Condenses 16 booleans into a single u16.
Implementations§
Trait Implementations§
Source§impl BitAndAssign<u16> for Flags16
Available on crate feature operators only.
impl BitAndAssign<u16> for Flags16
Available on crate feature
operators only.Source§fn bitand_assign(&mut self, rhs: u16)
fn bitand_assign(&mut self, rhs: u16)
Performs the
&= operation. Read moreSource§impl BitAndAssign for Flags16
Available on crate feature operators only.
impl BitAndAssign for Flags16
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<u16> for Flags16
Available on crate feature operators only.
impl BitOrAssign<u16> for Flags16
Available on crate feature
operators only.Source§fn bitor_assign(&mut self, rhs: u16)
fn bitor_assign(&mut self, rhs: u16)
Performs the
|= operation. Read moreSource§impl BitOrAssign for Flags16
Available on crate feature operators only.
impl BitOrAssign for Flags16
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<u16> for Flags16
Available on crate feature operators only.
impl BitXorAssign<u16> for Flags16
Available on crate feature
operators only.Source§fn bitxor_assign(&mut self, rhs: u16)
fn bitxor_assign(&mut self, rhs: u16)
Performs the
^= operation. Read moreSource§impl BitXorAssign for Flags16
Available on crate feature operators only.
impl BitXorAssign for Flags16
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<u16> for Flags16
Available on crate feature operators only.
impl ShlAssign<u16> for Flags16
Available on crate feature
operators only.Source§fn shl_assign(&mut self, rhs: u16)
fn shl_assign(&mut self, rhs: u16)
Performs the
<<= operation. Read moreSource§impl ShrAssign<u16> for Flags16
Available on crate feature operators only.
impl ShrAssign<u16> for Flags16
Available on crate feature
operators only.Source§fn shr_assign(&mut self, rhs: u16)
fn shr_assign(&mut self, rhs: u16)
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