Enum tailwind_rs::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
sourceimpl Clone for CssInlineMode
impl Clone for CssInlineMode
sourcefn clone(&self) -> CssInlineMode
fn clone(&self) -> CssInlineMode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CssInlineMode
impl Debug for CssInlineMode
sourceimpl Default for CssInlineMode
impl Default for CssInlineMode
sourcefn default() -> CssInlineMode
fn default() -> CssInlineMode
Returns the “default value” for a type. Read more
sourceimpl Hash for CssInlineMode
impl Hash for CssInlineMode
sourceimpl Ord for CssInlineMode
impl Ord for CssInlineMode
sourcefn cmp(&self, other: &CssInlineMode) -> Ordering
fn cmp(&self, other: &CssInlineMode) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<CssInlineMode> for CssInlineMode
impl PartialEq<CssInlineMode> for CssInlineMode
sourcefn eq(&self, other: &CssInlineMode) -> bool
fn eq(&self, other: &CssInlineMode) -> bool
sourceimpl PartialOrd<CssInlineMode> for CssInlineMode
impl PartialOrd<CssInlineMode> for CssInlineMode
sourcefn partial_cmp(&self, other: &CssInlineMode) -> Option<Ordering>
fn partial_cmp(&self, other: &CssInlineMode) -> Option<Ordering>
1.0.0 · sourcefn 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
impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer