#[repr(C)]pub struct ModifierBitset {
pub layers: LayerBitset,
pub mask: LayerBitset,
}Expand description
Struct for modifying layers with a bitset.
Fields§
§layers: LayerBitsetThe set of layers modified.
mask: LayerBitsetThe mask for which layers are affected by the modification.
Trait Implementations§
Source§impl Clone for ModifierBitset
impl Clone for ModifierBitset
Source§fn clone(&self) -> ModifierBitset
fn clone(&self) -> ModifierBitset
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ModifierBitset
impl Debug for ModifierBitset
Source§impl<'de> Deserialize<'de> for ModifierBitset
impl<'de> Deserialize<'de> for ModifierBitset
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ModifierBitset
impl PartialEq for ModifierBitset
impl Copy for ModifierBitset
impl Eq for ModifierBitset
impl StructuralPartialEq for ModifierBitset
Auto Trait Implementations§
impl Freeze for ModifierBitset
impl RefUnwindSafe for ModifierBitset
impl Send for ModifierBitset
impl Sync for ModifierBitset
impl Unpin for ModifierBitset
impl UnsafeUnpin for ModifierBitset
impl UnwindSafe for ModifierBitset
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