pub enum ButtonRole {
Normal,
Check,
Radio,
// some variants omitted
}
Variants§
Trait Implementations§
Source§impl Clone for ButtonRole
impl Clone for ButtonRole
Source§fn clone(&self) -> ButtonRole
fn clone(&self) -> ButtonRole
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 ButtonRole
impl Debug for ButtonRole
Source§impl Display for ButtonRole
impl Display for ButtonRole
Source§impl<'a> FromValue<'a> for ButtonRole
impl<'a> FromValue<'a> for ButtonRole
unsafe fn from_value(value: &Value) -> Self
Source§impl<'a> FromValueOptional<'a> for ButtonRole
impl<'a> FromValueOptional<'a> for ButtonRole
unsafe fn from_value_optional(value: &Value) -> Option<Self>
Source§impl Hash for ButtonRole
impl Hash for ButtonRole
Source§impl Ord for ButtonRole
impl Ord for ButtonRole
Source§fn cmp(&self, other: &ButtonRole) -> Ordering
fn cmp(&self, other: &ButtonRole) -> 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 ButtonRole
impl PartialEq for ButtonRole
Source§impl PartialOrd for ButtonRole
impl PartialOrd for ButtonRole
Source§impl StaticType for ButtonRole
impl StaticType for ButtonRole
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Copy for ButtonRole
impl Eq for ButtonRole
impl StructuralPartialEq for ButtonRole
Auto Trait Implementations§
impl Freeze for ButtonRole
impl RefUnwindSafe for ButtonRole
impl Send for ButtonRole
impl Sync for ButtonRole
impl Unpin for ButtonRole
impl UnwindSafe for ButtonRole
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
Source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.