#[non_exhaustive]pub enum CssEntry<'a> {
Always(&'a str),
If(&'a str, bool),
}Expand description
One item in a Blade class or style list.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Always(&'a str)
Always include the given class or declaration.
If(&'a str, bool)
Include the given class or declaration if the condition holds.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for CssEntry<'a>
impl<'a> Freeze for CssEntry<'a>
impl<'a> Move for CssEntry<'a>
impl<'a> RefUnwindSafe for CssEntry<'a>
impl<'a> Send for CssEntry<'a>
impl<'a> Sync for CssEntry<'a>
impl<'a> Unpin for CssEntry<'a>
impl<'a> UnsafeUnpin for CssEntry<'a>where
&'a str: UnsafeUnpin,
impl<'a> UnwindSafe for CssEntry<'a>where
&'a str: UnwindSafe,
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