pub struct ButtonElevation {
pub default: f32,
pub pressed: f32,
pub focused: f32,
pub hovered: f32,
pub disabled: f32,
}Expand description
Elevation levels for buttons (matching Compose Material3 ButtonElevation).
Fields§
§default: f32§pressed: f32§focused: f32§hovered: f32§disabled: f32Trait Implementations§
Source§impl Clone for ButtonElevation
impl Clone for ButtonElevation
Source§fn clone(&self) -> ButtonElevation
fn clone(&self) -> ButtonElevation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ButtonElevation
Auto Trait Implementations§
impl Freeze for ButtonElevation
impl RefUnwindSafe for ButtonElevation
impl Send for ButtonElevation
impl Sync for ButtonElevation
impl Unpin for ButtonElevation
impl UnsafeUnpin for ButtonElevation
impl UnwindSafe for ButtonElevation
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