Struct freya_components::ThemeProviderProps
source · pub struct ThemeProviderProps<'a> {
pub theme: Option<Theme>,
pub children: Element<'a>,
}
Expand description
ThemeProvider
component properties.
Fields§
§theme: Option<Theme>
Theme to provide.
children: Element<'a>
Inner children to provide a Theme to.
Implementations§
source§impl<'a> ThemeProviderProps<'a>
impl<'a> ThemeProviderProps<'a>
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ThemeProviderProps<'a>
impl<'a> !Send for ThemeProviderProps<'a>
impl<'a> !Sync for ThemeProviderProps<'a>
impl<'a> Unpin for ThemeProviderProps<'a>
impl<'a> !UnwindSafe for ThemeProviderProps<'a>
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