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§
source§impl CssAttributes
impl CssAttributes
Trait Implementations§
source§impl Add for CssAttributes
impl Add for CssAttributes
source§impl AddAssign for CssAttributes
impl AddAssign for CssAttributes
source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+=
operation. Read moresource§impl Clone for CssAttributes
impl Clone for CssAttributes
source§fn clone(&self) -> CssAttributes
fn clone(&self) -> CssAttributes
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 CssAttributes
impl Debug for CssAttributes
source§impl Default for CssAttributes
impl Default for CssAttributes
source§fn default() -> CssAttributes
fn default() -> CssAttributes
Returns the “default value” for a type. Read more
source§impl Display for CssAttributes
impl Display for CssAttributes
source§impl Hash for CssAttributes
impl Hash for CssAttributes
source§impl Ord for CssAttributes
impl Ord for CssAttributes
source§fn cmp(&self, other: &CssAttributes) -> Ordering
fn cmp(&self, other: &CssAttributes) -> 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 CssAttributes
impl PartialEq for CssAttributes
source§fn eq(&self, other: &CssAttributes) -> bool
fn eq(&self, other: &CssAttributes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CssAttributes
impl PartialOrd for CssAttributes
source§fn partial_cmp(&self, other: &CssAttributes) -> Option<Ordering>
fn partial_cmp(&self, other: &CssAttributes) -> 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 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§
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