pub struct LayerName(/* private fields */);Expand description
Layer identifier.
Used by layer-control actions (Action::PushLayer,
Action::ToggleLayer), the dispatcher’s
layer stack, and introspection snapshots.
Converts from &str and String for convenience.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LayerName
impl<'de> Deserialize<'de> for LayerName
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
impl Eq for LayerName
impl StructuralPartialEq for LayerName
Auto Trait Implementations§
impl Freeze for LayerName
impl RefUnwindSafe for LayerName
impl Send for LayerName
impl Sync for LayerName
impl Unpin for LayerName
impl UnsafeUnpin for LayerName
impl UnwindSafe for LayerName
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