Enum rsass::value::ListSeparator
source · pub enum ListSeparator {
Space,
Slash,
SlashNoSpace,
Comma,
}
Expand description
The difference between a comma-separated and a whitespace-separated list.
Variants§
Space
The list is space-separated.
Slash
The list is slash-separated.
SlashNoSpace
The list is slash-separated without whitespace.
Comma
The list is comma-separated.
Implementations§
Trait Implementations§
source§impl Clone for ListSeparator
impl Clone for ListSeparator
source§fn clone(&self) -> ListSeparator
fn clone(&self) -> ListSeparator
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 ListSeparator
impl Debug for ListSeparator
source§impl Default for ListSeparator
impl Default for ListSeparator
source§impl Ord for ListSeparator
impl Ord for ListSeparator
source§fn cmp(&self, other: &ListSeparator) -> Ordering
fn cmp(&self, other: &ListSeparator) -> 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 ListSeparator
impl PartialEq for ListSeparator
source§fn eq(&self, other: &ListSeparator) -> bool
fn eq(&self, other: &ListSeparator) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ListSeparator
impl PartialOrd for ListSeparator
source§fn partial_cmp(&self, other: &ListSeparator) -> Option<Ordering>
fn partial_cmp(&self, other: &ListSeparator) -> 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 Copy for ListSeparator
impl Eq for ListSeparator
impl StructuralEq for ListSeparator
impl StructuralPartialEq for ListSeparator
Auto Trait Implementations§
impl RefUnwindSafe for ListSeparator
impl Send for ListSeparator
impl Sync for ListSeparator
impl Unpin for ListSeparator
impl UnwindSafe for ListSeparator
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