pub enum ButtonScale {
Size2,
Size1,
Size3,
Size4,
}Variants§
Trait Implementations§
Source§impl Clone for ButtonScale
impl Clone for ButtonScale
Source§fn clone(&self) -> ButtonScale
fn clone(&self) -> ButtonScale
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 ButtonScale
impl Debug for ButtonScale
Source§impl Default for ButtonScale
impl Default for ButtonScale
Source§fn default() -> ButtonScale
fn default() -> ButtonScale
Returns the “default value” for a type. Read more
Source§impl From<ButtonScale> for ButtonSize
impl From<ButtonScale> for ButtonSize
Source§fn from(scale: ButtonScale) -> Self
fn from(scale: ButtonScale) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ButtonScale
impl PartialEq for ButtonScale
impl Copy for ButtonScale
impl Eq for ButtonScale
impl StructuralPartialEq for ButtonScale
Auto Trait Implementations§
impl Freeze for ButtonScale
impl RefUnwindSafe for ButtonScale
impl Send for ButtonScale
impl Sync for ButtonScale
impl Unpin for ButtonScale
impl UnsafeUnpin for ButtonScale
impl UnwindSafe for ButtonScale
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