pub struct RelativeKey { /* private fields */ }
Expand description
Key representation with a width only. Useful for boards that have no vertical stagger where each key is next to each other.
Trait Implementations§
Source§impl Clone for RelativeKey
impl Clone for RelativeKey
Source§fn clone(&self) -> RelativeKey
fn clone(&self) -> RelativeKey
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 RelativeKey
impl Debug for RelativeKey
Source§impl Display for RelativeKey
impl Display for RelativeKey
Source§impl FromStr for RelativeKey
impl FromStr for RelativeKey
Source§impl PartialEq for RelativeKey
impl PartialEq for RelativeKey
impl StructuralPartialEq for RelativeKey
Auto Trait Implementations§
impl Freeze for RelativeKey
impl RefUnwindSafe for RelativeKey
impl Send for RelativeKey
impl Sync for RelativeKey
impl Unpin for RelativeKey
impl UnwindSafe for RelativeKey
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