pub enum Css<'a> {
Critical {
src: &'a str,
},
NonCritical {
src: &'a str,
},
}Expand description
Information regarding the <style> tags to include.
Variants§
Critical
Above the fold CSS. This get linked in from the resources directory, /public.
NonCritical
Under the fold CSS. This get linked in from the resources directory, /public.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Css<'a>
impl<'a> RefUnwindSafe for Css<'a>
impl<'a> Send for Css<'a>
impl<'a> Sync for Css<'a>
impl<'a> Unpin for Css<'a>
impl<'a> UnwindSafe for Css<'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