Enum tailwind_css::SizeKind
source · [−]Variants
Auto
Reverse
Unit(f32)
Px(f32)
Rem(f32)
Implementations
sourceimpl SizeKind
impl SizeKind
pub fn parse(kind: &[&str], arbitrary: &TailwindArbitrary) -> Result<Self>
pub fn parse_arbitrary(_arbitrary: &TailwindArbitrary) -> Result<Self>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SizeKind
impl Send for SizeKind
impl Sync for SizeKind
impl Unpin for SizeKind
impl UnwindSafe for SizeKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more