pub struct ThemeGeometry { /* private fields */ }Expand description
Geometry, radius, control height, shadow ramp, and typography scale owned by a design scheme.
Implementations§
Source§impl ThemeGeometry
impl ThemeGeometry
pub fn get_radius_sm(&self) -> f32
pub fn get_mut_radius_sm(&mut self) -> &mut f32
pub fn set_radius_sm(&mut self, val: f32) -> &mut Self
pub fn get_radius_md(&self) -> f32
pub fn get_mut_radius_md(&mut self) -> &mut f32
pub fn set_radius_md(&mut self, val: f32) -> &mut Self
pub fn get_radius_lg(&self) -> f32
pub fn get_mut_radius_lg(&mut self) -> &mut f32
pub fn set_radius_lg(&mut self, val: f32) -> &mut Self
pub fn get_radius_xl(&self) -> f32
pub fn get_mut_radius_xl(&mut self) -> &mut f32
pub fn set_radius_xl(&mut self, val: f32) -> &mut Self
pub fn get_border_width(&self) -> f32
pub fn get_mut_border_width(&mut self) -> &mut f32
pub fn set_border_width(&mut self, val: f32) -> &mut Self
pub fn get_ring_width(&self) -> f32
pub fn get_mut_ring_width(&mut self) -> &mut f32
pub fn set_ring_width(&mut self, val: f32) -> &mut Self
pub fn get_control_sm(&self) -> f32
pub fn get_mut_control_sm(&mut self) -> &mut f32
pub fn set_control_sm(&mut self, val: f32) -> &mut Self
pub fn get_control_md(&self) -> f32
pub fn get_mut_control_md(&mut self) -> &mut f32
pub fn set_control_md(&mut self, val: f32) -> &mut Self
pub fn get_control_lg(&self) -> f32
pub fn get_mut_control_lg(&mut self) -> &mut f32
pub fn set_control_lg(&mut self, val: f32) -> &mut Self
pub fn get_font_body(&self) -> f32
pub fn get_mut_font_body(&mut self) -> &mut f32
pub fn set_font_body(&mut self, val: f32) -> &mut Self
pub fn get_font_heading(&self) -> f32
pub fn get_mut_font_heading(&mut self) -> &mut f32
pub fn set_font_heading(&mut self, val: f32) -> &mut Self
pub fn get_font_title(&self) -> f32
pub fn get_mut_font_title(&mut self) -> &mut f32
pub fn set_font_title(&mut self, val: f32) -> &mut Self
pub fn get_shadow_xs(&self) -> Shadow
pub fn get_mut_shadow_xs(&mut self) -> &mut Shadow
pub fn set_shadow_xs(&mut self, val: Shadow) -> &mut Self
pub fn get_shadow_sm(&self) -> Shadow
pub fn get_mut_shadow_sm(&mut self) -> &mut Shadow
pub fn set_shadow_sm(&mut self, val: Shadow) -> &mut Self
pub fn get_shadow_md(&self) -> Shadow
pub fn get_mut_shadow_md(&mut self) -> &mut Shadow
pub fn set_shadow_md(&mut self, val: Shadow) -> &mut Self
pub fn get_shadow_lg(&self) -> Shadow
pub fn get_mut_shadow_lg(&mut self) -> &mut Shadow
pub fn set_shadow_lg(&mut self, val: Shadow) -> &mut Self
Trait Implementations§
Source§impl Clone for ThemeGeometry
impl Clone for ThemeGeometry
impl Copy for ThemeGeometry
Source§impl Debug for ThemeGeometry
impl Debug for ThemeGeometry
Source§impl PartialEq for ThemeGeometry
impl PartialEq for ThemeGeometry
impl StructuralPartialEq for ThemeGeometry
Auto Trait Implementations§
impl Forget for ThemeGeometry
impl Freeze for ThemeGeometry
impl Move for ThemeGeometry
impl RefUnwindSafe for ThemeGeometry
impl Send for ThemeGeometry
impl Sync for ThemeGeometry
impl Unpin for ThemeGeometry
impl UnsafeUnpin for ThemeGeometry
impl UnwindSafe for ThemeGeometry
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