pub struct ModSet(pub u32);
Expand description
A combination of Mod
s.
Very cheap to copy around, as it is a just a wrapped 32-bit integer.
Tuple Fields§
§0: u32
Implementations§
Trait Implementations§
impl Copy for ModSet
impl Eq for ModSet
impl StructuralPartialEq for ModSet
Auto Trait Implementations§
impl Freeze for ModSet
impl RefUnwindSafe for ModSet
impl Send for ModSet
impl Sync for ModSet
impl Unpin for ModSet
impl UnwindSafe for ModSet
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