pub struct ThemeShadows {
pub sm: BoxShadow,
pub md: BoxShadow,
pub lg: BoxShadow,
}Expand description
Standard shadow presets for native boxes.
§Examples
use ailloli_ui_core::style::Theme;
assert_eq!(Theme::dark().shadows().md.blur_radius, 12.0);Fields§
§sm: BoxShadowSmall elevation shadow.
md: BoxShadowMedium elevation shadow.
lg: BoxShadowLarge elevation shadow.
Trait Implementations§
Source§impl Clone for ThemeShadows
impl Clone for ThemeShadows
Source§fn clone(&self) -> ThemeShadows
fn clone(&self) -> ThemeShadows
Returns a copy 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 ThemeShadows
impl Debug for ThemeShadows
Source§impl PartialEq for ThemeShadows
impl PartialEq for ThemeShadows
impl Copy for ThemeShadows
impl StructuralPartialEq for ThemeShadows
Auto Trait Implementations§
impl Freeze for ThemeShadows
impl RefUnwindSafe for ThemeShadows
impl Send for ThemeShadows
impl Sync for ThemeShadows
impl Unpin for ThemeShadows
impl UnwindSafe for ThemeShadows
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