Struct tailwind_css::CssAttributes
source · [−]pub struct CssAttributes { /* private fields */ }
Expand description
A css property is used to remove duplicates.
In principle, each css property will only appear once, and the one set later will override the previous one.
Implementations
sourceimpl CssAttributes
impl CssAttributes
Trait Implementations
sourceimpl Add<CssAttributes> for CssAttributes
impl Add<CssAttributes> for CssAttributes
sourceimpl AddAssign<CssAttributes> for CssAttributes
impl AddAssign<CssAttributes> for CssAttributes
sourcefn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+=
operation. Read moresourceimpl Clone for CssAttributes
impl Clone for CssAttributes
sourcefn clone(&self) -> CssAttributes
fn clone(&self) -> CssAttributes
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 CssAttributes
impl Debug for CssAttributes
sourceimpl Default for CssAttributes
impl Default for CssAttributes
sourcefn default() -> CssAttributes
fn default() -> CssAttributes
Returns the “default value” for a type. Read more
sourceimpl Display for CssAttributes
impl Display for CssAttributes
sourceimpl Hash for CssAttributes
impl Hash for CssAttributes
sourceimpl Ord for CssAttributes
impl Ord for CssAttributes
sourcefn cmp(&self, other: &CssAttributes) -> Ordering
fn cmp(&self, other: &CssAttributes) -> 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<CssAttributes> for CssAttributes
impl PartialEq<CssAttributes> for CssAttributes
sourcefn eq(&self, other: &CssAttributes) -> bool
fn eq(&self, other: &CssAttributes) -> bool
sourceimpl PartialOrd<CssAttributes> for CssAttributes
impl PartialOrd<CssAttributes> for CssAttributes
sourcefn partial_cmp(&self, other: &CssAttributes) -> Option<Ordering>
fn partial_cmp(&self, other: &CssAttributes) -> 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 CssAttributes
impl StructuralEq for CssAttributes
impl StructuralPartialEq for CssAttributes
Auto Trait Implementations
impl RefUnwindSafe for CssAttributes
impl Send for CssAttributes
impl Sync for CssAttributes
impl Unpin for CssAttributes
impl UnwindSafe for CssAttributes
Blanket Implementations
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