Struct dioxus_material::UseTheme
source · pub struct UseTheme {
pub primary_color: Cow<'static, str>,
pub background_color: Cow<'static, str>,
pub secondary_container_color: Cow<'static, str>,
pub border_radius_medium: Cow<'static, str>,
pub border_radius_small: Cow<'static, str>,
pub label_small: f32,
pub label_medium: f32,
}
Fields§
§primary_color: Cow<'static, str>
§background_color: Cow<'static, str>
§secondary_container_color: Cow<'static, str>
§border_radius_medium: Cow<'static, str>
§border_radius_small: Cow<'static, str>
§label_small: f32
§label_medium: f32
Auto Trait Implementations§
impl RefUnwindSafe for UseTheme
impl Send for UseTheme
impl Sync for UseTheme
impl Unpin for UseTheme
impl UnwindSafe for UseTheme
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