pub struct theme_style;Expand description
The active theme’s CSS variables, as a <style> element.
Trait Implementations§
Source§impl Component for theme_style
impl Component for theme_style
Source§type Props<'__props> = ThemeStyleProps
type Props<'__props> = ThemeStyleProps
The component’s properties. The lifetime covers data borrowed from
the caller.
Source§fn render<'__a, '__props>(
self,
cx: &'__a Cx,
props: Self::Props<'__props>,
) -> impl Future<Output = Result<impl View>> + Send + '__awhere
Self: '__a,
Self::Props<'__props>: '__a,
'__props: '__a,
fn render<'__a, '__props>(
self,
cx: &'__a Cx,
props: Self::Props<'__props>,
) -> impl Future<Output = Result<impl View>> + Send + '__awhere
Self: '__a,
Self::Props<'__props>: '__a,
'__props: '__a,
fn props_builder<'a>() -> <Self::Props<'a> as Props>::Builder
Auto Trait Implementations§
impl Freeze for theme_style
impl RefUnwindSafe for theme_style
impl Send for theme_style
impl Sync for theme_style
impl Unpin for theme_style
impl UnsafeUnpin for theme_style
impl UnwindSafe for theme_style
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