pub enum Affordance {
Clickable,
Draggable,
Selectable,
Expandable,
Dismissible,
Resizable,
Scrollable,
Editable,
Sortable,
Navigable,
}Expand description
UI affordance vocabulary.
Variants§
Trait Implementations§
Source§impl Clone for Affordance
impl Clone for Affordance
Source§fn clone(&self) -> Affordance
fn clone(&self) -> Affordance
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 Affordance
impl Debug for Affordance
Source§impl Hash for Affordance
impl Hash for Affordance
Source§impl Ord for Affordance
impl Ord for Affordance
Source§fn cmp(&self, other: &Affordance) -> Ordering
fn cmp(&self, other: &Affordance) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Affordance
impl PartialEq for Affordance
Source§impl PartialOrd for Affordance
impl PartialOrd for Affordance
impl Copy for Affordance
impl Eq for Affordance
impl StructuralPartialEq for Affordance
Auto Trait Implementations§
impl Freeze for Affordance
impl RefUnwindSafe for Affordance
impl Send for Affordance
impl Sync for Affordance
impl Unpin for Affordance
impl UnsafeUnpin for Affordance
impl UnwindSafe for Affordance
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