Enum sass_embedded::legacy::IndentType
source · [−]pub enum IndentType {
Space,
Tab,
}Expand description
More information: Sass documentation
Variants
Space
Space IndentType.
Tab
Tab IndentType.
Trait Implementations
sourceimpl Clone for IndentType
impl Clone for IndentType
sourcefn clone(&self) -> IndentType
fn clone(&self) -> IndentType
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for IndentType
impl Debug for IndentType
sourceimpl Default for IndentType
impl Default for IndentType
sourceimpl<'de> Deserialize<'de> for IndentType
impl<'de> Deserialize<'de> for IndentType
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Hash for IndentType
impl Hash for IndentType
sourceimpl Ord for IndentType
impl Ord for IndentType
sourcefn cmp(&self, other: &IndentType) -> Ordering
fn cmp(&self, other: &IndentType) -> Ordering
1.21.0 · sourceconst fn max(self, other: Self) -> Selfwhere
Self: Sized,
const fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourceconst fn min(self, other: Self) -> Selfwhere
Self: Sized,
const fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourceconst fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
const fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<IndentType> for IndentType
impl PartialEq<IndentType> for IndentType
sourcefn eq(&self, other: &IndentType) -> bool
fn eq(&self, other: &IndentType) -> bool
sourceimpl PartialOrd<IndentType> for IndentType
impl PartialOrd<IndentType> for IndentType
sourcefn partial_cmp(&self, other: &IndentType) -> Option<Ordering>
fn partial_cmp(&self, other: &IndentType) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const 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 moresourceimpl Serialize for IndentType
impl Serialize for IndentType
impl Copy for IndentType
impl Eq for IndentType
impl StructuralEq for IndentType
impl StructuralPartialEq for IndentType
Auto Trait Implementations
impl RefUnwindSafe for IndentType
impl Send for IndentType
impl Sync for IndentType
impl Unpin for IndentType
impl UnwindSafe for IndentType
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