pub enum LayerEvent {
LayerActivated(LayerIndex),
LayerDeactivated(LayerIndex),
}
Expand description
Events from ModifierKey which affect Context.
Variants§
LayerActivated(LayerIndex)
Activates the given layer.
LayerDeactivated(LayerIndex)
Deactivates the given layer.
Trait Implementations§
Source§impl Clone for LayerEvent
impl Clone for LayerEvent
Source§fn clone(&self) -> LayerEvent
fn clone(&self) -> LayerEvent
Returns a copy 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 LayerEvent
impl Debug for LayerEvent
Source§impl From<LayerEvent> for ()
impl From<LayerEvent> for ()
Source§fn from(_: LayerEvent) -> Self
fn from(_: LayerEvent) -> Self
Converts to this type from the input type.
Source§impl From<LayerEvent> for Event
impl From<LayerEvent> for Event
Source§fn from(ev: LayerEvent) -> Self
fn from(ev: LayerEvent) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LayerEvent
impl PartialEq for LayerEvent
Source§impl TryFrom<Event> for LayerEvent
impl TryFrom<Event> for LayerEvent
impl Copy for LayerEvent
impl Eq for LayerEvent
impl StructuralPartialEq for LayerEvent
Auto Trait Implementations§
impl Freeze for LayerEvent
impl RefUnwindSafe for LayerEvent
impl Send for LayerEvent
impl Sync for LayerEvent
impl Unpin for LayerEvent
impl UnwindSafe for LayerEvent
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