pub struct LayerStateMask(/* private fields */);Expand description
Layer properties selected for restoration from a named state.
Implementations§
Source§impl LayerStateMask
impl LayerStateMask
pub const NONE: Self
pub const ON: Self
pub const FROZEN: Self
pub const LOCKED: Self
pub const PLOT: Self
pub const NEW_VIEWPORT: Self
pub const COLOR: Self
pub const LINE_TYPE: Self
pub const LINE_WEIGHT: Self
pub const PLOT_STYLE: Self
pub const CURRENT_VIEWPORT: Self
pub const TRANSPARENCY: Self
pub const LAST_RESTORED: Self
Sourcepub const SUPPORTED: Self
pub const SUPPORTED: Self
Properties represented by crate::tables::Layer.
pub const fn from_bits(bits: u32) -> Self
pub const fn bits(self) -> u32
pub const fn contains(self, other: Self) -> bool
Trait Implementations§
Source§impl BitOr for LayerStateMask
impl BitOr for LayerStateMask
Source§impl BitOrAssign for LayerStateMask
impl BitOrAssign for LayerStateMask
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl Clone for LayerStateMask
impl Clone for LayerStateMask
impl Copy for LayerStateMask
Source§impl Debug for LayerStateMask
impl Debug for LayerStateMask
Source§impl Default for LayerStateMask
impl Default for LayerStateMask
impl Eq for LayerStateMask
Source§impl PartialEq for LayerStateMask
impl PartialEq for LayerStateMask
impl StructuralPartialEq for LayerStateMask
Auto Trait Implementations§
impl Freeze for LayerStateMask
impl RefUnwindSafe for LayerStateMask
impl Send for LayerStateMask
impl Sync for LayerStateMask
impl Unpin for LayerStateMask
impl UnsafeUnpin for LayerStateMask
impl UnwindSafe for LayerStateMask
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more