Enum stc_ts_types::IntrinsicKind
source · [−]pub enum IntrinsicKind {
Uppercase,
Lowercase,
Capitalize,
Uncapitalize,
}
Variants
Uppercase
Lowercase
Capitalize
Uncapitalize
Implementations
sourceimpl IntrinsicKind
impl IntrinsicKind
sourcepub fn is_uppercase(&self) -> bool
pub fn is_uppercase(&self) -> bool
Returns true
if self
is of variant Uppercase
.
sourcepub fn is_lowercase(&self) -> bool
pub fn is_lowercase(&self) -> bool
Returns true
if self
is of variant Lowercase
.
sourcepub fn is_capitalize(&self) -> bool
pub fn is_capitalize(&self) -> bool
Returns true
if self
is of variant Capitalize
.
sourcepub fn is_uncapitalize(&self) -> bool
pub fn is_uncapitalize(&self) -> bool
Returns true
if self
is of variant Uncapitalize
.
Trait Implementations
sourceimpl Clone for IntrinsicKind
impl Clone for IntrinsicKind
sourcefn clone(&self) -> IntrinsicKind
fn clone(&self) -> IntrinsicKind
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 IntrinsicKind
impl Debug for IntrinsicKind
sourceimpl<'de> Deserialize<'de> for IntrinsicKind
impl<'de> Deserialize<'de> for IntrinsicKind
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 EqIgnoreSpan for IntrinsicKind
impl EqIgnoreSpan for IntrinsicKind
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl<V> FoldWith<V> for IntrinsicKindwhere
V: ?Sized,
impl<V> FoldWith<V> for IntrinsicKindwhere
V: ?Sized,
sourceimpl From<&str> for IntrinsicKind
impl From<&str> for IntrinsicKind
sourceimpl Hash for IntrinsicKind
impl Hash for IntrinsicKind
sourceimpl Ord for IntrinsicKind
impl Ord for IntrinsicKind
sourcefn cmp(&self, other: &IntrinsicKind) -> Ordering
fn cmp(&self, other: &IntrinsicKind) -> 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<IntrinsicKind> for IntrinsicKind
impl PartialEq<IntrinsicKind> for IntrinsicKind
sourcefn eq(&self, other: &IntrinsicKind) -> bool
fn eq(&self, other: &IntrinsicKind) -> bool
sourceimpl PartialOrd<IntrinsicKind> for IntrinsicKind
impl PartialOrd<IntrinsicKind> for IntrinsicKind
sourcefn partial_cmp(&self, other: &IntrinsicKind) -> Option<Ordering>
fn partial_cmp(&self, other: &IntrinsicKind) -> 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 moresourceimpl Serialize for IntrinsicKind
impl Serialize for IntrinsicKind
sourceimpl TypeEq for IntrinsicKind
impl TypeEq for IntrinsicKind
sourceimpl<V> VisitMutWith<V> for IntrinsicKindwhere
V: ?Sized,
impl<V> VisitMutWith<V> for IntrinsicKindwhere
V: ?Sized,
fn visit_mut_children_with(&mut self, _visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)where
V: VisitMut<Self>,
sourceimpl<V> VisitWith<V> for IntrinsicKindwhere
V: ?Sized,
impl<V> VisitWith<V> for IntrinsicKindwhere
V: ?Sized,
fn visit_children_with(&self, _visitor: &mut V)
fn visit_with(&self, visitor: &mut V)where
V: Visit<Self>,
impl Eq for IntrinsicKind
impl StructuralEq for IntrinsicKind
impl StructuralPartialEq for IntrinsicKind
impl Visitable for IntrinsicKind
Auto Trait Implementations
impl RefUnwindSafe for IntrinsicKind
impl Send for IntrinsicKind
impl Sync for IntrinsicKind
impl Unpin for IntrinsicKind
impl UnwindSafe for IntrinsicKind
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
sourceimpl<T> CallHasher for Twhere
T: Hash + ?Sized,
impl<T> CallHasher for Twhere
T: Hash + ?Sized,
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.