Enum LayerLockTarget
pub enum LayerLockTarget {
HighestActive,
Layer(u32),
}Expand description
Target of a layer-lock action.
Variants§
Trait Implementations§
§impl Clone for LayerLockTarget
impl Clone for LayerLockTarget
§fn clone(&self) -> LayerLockTarget
fn clone(&self) -> LayerLockTarget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LayerLockTarget
§impl Debug for LayerLockTarget
impl Debug for LayerLockTarget
§impl<'de> Deserialize<'de> for LayerLockTarget
impl<'de> Deserialize<'de> for LayerLockTarget
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LayerLockTarget, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LayerLockTarget, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LayerLockTarget
§impl PartialEq for LayerLockTarget
impl PartialEq for LayerLockTarget
impl StructuralPartialEq for LayerLockTarget
Auto Trait Implementations§
impl Freeze for LayerLockTarget
impl RefUnwindSafe for LayerLockTarget
impl Send for LayerLockTarget
impl Sync for LayerLockTarget
impl Unpin for LayerLockTarget
impl UnsafeUnpin for LayerLockTarget
impl UnwindSafe for LayerLockTarget
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