pub struct OverlayBehavior { /* private fields */ }
Expand description
Implementations§
Source§impl OverlayBehavior
impl OverlayBehavior
Sourcepub fn overlay(&self) -> KeyOverlay
pub fn overlay(&self) -> KeyOverlay
Returns the overlay that controls this behavior.
§Example
xkb_symbols {
key <a> {
overlay2 = <b>,
};
};
The function returns KeyOverlay::Overlay2
.
Trait Implementations§
Source§impl Clone for OverlayBehavior
impl Clone for OverlayBehavior
Source§fn clone(&self) -> OverlayBehavior
fn clone(&self) -> OverlayBehavior
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 OverlayBehavior
impl Debug for OverlayBehavior
Source§impl PartialEq for OverlayBehavior
impl PartialEq for OverlayBehavior
impl StructuralPartialEq for OverlayBehavior
Auto Trait Implementations§
impl Freeze for OverlayBehavior
impl RefUnwindSafe for OverlayBehavior
impl Send for OverlayBehavior
impl Sync for OverlayBehavior
impl Unpin for OverlayBehavior
impl UnwindSafe for OverlayBehavior
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