pub struct ChipElevation {
pub default: f32,
pub hovered: f32,
pub focused: f32,
pub pressed: f32,
pub dragged: f32,
pub disabled: f32,
}Expand description
Elevation levels for chips.
Fields§
§default: f32§hovered: f32§focused: f32§pressed: f32§dragged: f32§disabled: f32Implementations§
Source§impl ChipElevation
impl ChipElevation
pub fn to_state_elevation(&self) -> StateElevation
Trait Implementations§
Source§impl Clone for ChipElevation
impl Clone for ChipElevation
Source§fn clone(&self) -> ChipElevation
fn clone(&self) -> ChipElevation
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 ChipElevation
Source§impl Debug for ChipElevation
impl Debug for ChipElevation
Auto Trait Implementations§
impl Freeze for ChipElevation
impl RefUnwindSafe for ChipElevation
impl Send for ChipElevation
impl Sync for ChipElevation
impl Unpin for ChipElevation
impl UnsafeUnpin for ChipElevation
impl UnwindSafe for ChipElevation
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