Struct rs::layout::ButtonPosition
source · [−]Expand description
Button position for the pressed buttons list
Fields
view: String
row: usize
Index to the view’s row.
position_in_row: usize
Index to the row’s button.
Trait Implementations
sourceimpl Clone for ButtonPosition
impl Clone for ButtonPosition
sourcefn clone(&self) -> ButtonPosition
fn clone(&self) -> ButtonPosition
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ButtonPosition
impl Debug for ButtonPosition
sourceimpl From<&ButtonPosition> for KeyStateId
impl From<&ButtonPosition> for KeyStateId
sourcefn from(v: &ButtonPosition) -> Self
fn from(v: &ButtonPosition) -> Self
Converts to this type from the input type.
sourceimpl Hash for ButtonPosition
impl Hash for ButtonPosition
sourceimpl PartialEq<ButtonPosition> for ButtonPosition
impl PartialEq<ButtonPosition> for ButtonPosition
sourcefn eq(&self, other: &ButtonPosition) -> bool
fn eq(&self, other: &ButtonPosition) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ButtonPosition) -> bool
fn ne(&self, other: &ButtonPosition) -> bool
This method tests for !=
.
impl Eq for ButtonPosition
impl StructuralEq for ButtonPosition
impl StructuralPartialEq for ButtonPosition
Auto Trait Implementations
impl RefUnwindSafe for ButtonPosition
impl Send for ButtonPosition
impl Sync for ButtonPosition
impl Unpin for ButtonPosition
impl UnwindSafe for ButtonPosition
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.