pub struct StateElevation {
pub default: f32,
pub hovered: f32,
pub pressed: f32,
pub disabled: f32,
}Expand description
State-driven elevation for interactive components.
Fields§
§default: f32§hovered: f32§pressed: f32§disabled: f32Trait Implementations§
Source§impl Clone for StateElevation
impl Clone for StateElevation
Source§fn clone(&self) -> StateElevation
fn clone(&self) -> StateElevation
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 StateElevation
Auto Trait Implementations§
impl Freeze for StateElevation
impl RefUnwindSafe for StateElevation
impl Send for StateElevation
impl Sync for StateElevation
impl Unpin for StateElevation
impl UnsafeUnpin for StateElevation
impl UnwindSafe for StateElevation
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