pub struct SurfaceDefaults;Expand description
Default values for surface component.
Implementations§
Source§impl SurfaceDefaults
impl SurfaceDefaults
pub const SHAPE_RADIUS: f32 = 0.0
pub const TONAL_ELEVATION: f32 = 0.0
pub const SHADOW_ELEVATION: f32 = 0.0
pub fn color() -> Color
pub fn content_color() -> Color
Auto Trait Implementations§
impl Freeze for SurfaceDefaults
impl RefUnwindSafe for SurfaceDefaults
impl Send for SurfaceDefaults
impl Sync for SurfaceDefaults
impl Unpin for SurfaceDefaults
impl UnsafeUnpin for SurfaceDefaults
impl UnwindSafe for SurfaceDefaults
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