Enum tailwind_css::CssInlineMode
source · pub enum CssInlineMode {
None,
Inline,
Scoped,
DataKey,
DataValue,
}
Variants§
None
<img class="tailwind"/>
Inline
<img style="key:value"/>
Scoped
<img class="_b2JmdXNjYXRl"/>
DataKey
<img data-tw-b2JmdXNjYXRl/>
DataValue
<img data-tw="b2JmdXNjYXRl"/>
Trait Implementations§
source§impl Clone for CssInlineMode
impl Clone for CssInlineMode
source§fn clone(&self) -> CssInlineMode
fn clone(&self) -> CssInlineMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CssInlineMode
impl Debug for CssInlineMode
source§impl Default for CssInlineMode
impl Default for CssInlineMode
source§impl Hash for CssInlineMode
impl Hash for CssInlineMode
source§impl Ord for CssInlineMode
impl Ord for CssInlineMode
source§fn cmp(&self, other: &CssInlineMode) -> Ordering
fn cmp(&self, other: &CssInlineMode) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for CssInlineMode
impl PartialEq for CssInlineMode
source§fn eq(&self, other: &CssInlineMode) -> bool
fn eq(&self, other: &CssInlineMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CssInlineMode
impl PartialOrd for CssInlineMode
source§fn partial_cmp(&self, other: &CssInlineMode) -> Option<Ordering>
fn partial_cmp(&self, other: &CssInlineMode) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for CssInlineMode
impl StructuralEq for CssInlineMode
impl StructuralPartialEq for CssInlineMode
Auto Trait Implementations§
impl RefUnwindSafe for CssInlineMode
impl Send for CssInlineMode
impl Sync for CssInlineMode
impl Unpin for CssInlineMode
impl UnwindSafe for CssInlineMode
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