Struct stc_ts_types::metadata::KeywordTypeMetadata
source · [−]pub struct KeywordTypeMetadata {
pub common: CommonTypeMetadata,
}
Fields
common: CommonTypeMetadata
Trait Implementations
sourceimpl Clone for KeywordTypeMetadata
impl Clone for KeywordTypeMetadata
sourcefn clone(&self) -> KeywordTypeMetadata
fn clone(&self) -> KeywordTypeMetadata
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 KeywordTypeMetadata
impl Debug for KeywordTypeMetadata
sourceimpl Default for KeywordTypeMetadata
impl Default for KeywordTypeMetadata
sourcefn default() -> KeywordTypeMetadata
fn default() -> KeywordTypeMetadata
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for KeywordTypeMetadata
impl<'de> Deserialize<'de> for KeywordTypeMetadata
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 KeywordTypeMetadata
impl EqIgnoreSpan for KeywordTypeMetadata
Note
This struct is treated as a span while comparison. It means, EqIgnoreSpan will always return true.
fn eq_ignore_span(&self, _: &Self) -> bool
sourceimpl<F: ?Sized> FoldWith<F> for KeywordTypeMetadata
impl<F: ?Sized> FoldWith<F> for KeywordTypeMetadata
Noop.
sourceimpl PartialEq<KeywordTypeMetadata> for KeywordTypeMetadata
impl PartialEq<KeywordTypeMetadata> for KeywordTypeMetadata
sourcefn eq(&self, other: &KeywordTypeMetadata) -> bool
fn eq(&self, other: &KeywordTypeMetadata) -> bool
sourceimpl Serialize for KeywordTypeMetadata
impl Serialize for KeywordTypeMetadata
sourceimpl TypeEq for KeywordTypeMetadata
impl TypeEq for KeywordTypeMetadata
sourceimpl TypeMetadata for KeywordTypeMetadata
impl TypeMetadata for KeywordTypeMetadata
fn common(&self) -> CommonTypeMetadata
sourceimpl<F: ?Sized> VisitMutWith<F> for KeywordTypeMetadata
impl<F: ?Sized> VisitMutWith<F> for KeywordTypeMetadata
Noop.
fn visit_mut_children_with(&mut self, _: &mut F)
fn visit_mut_with(&mut self, visitor: &mut V)where
V: VisitMut<Self>,
sourceimpl<F: ?Sized> VisitWith<F> for KeywordTypeMetadata
impl<F: ?Sized> VisitWith<F> for KeywordTypeMetadata
Noop.
fn visit_children_with(&self, _: &mut F)
fn visit_with(&self, visitor: &mut V)where
V: Visit<Self>,
impl Copy for KeywordTypeMetadata
impl Eq for KeywordTypeMetadata
impl StructuralEq for KeywordTypeMetadata
impl StructuralPartialEq for KeywordTypeMetadata
impl Visitable for KeywordTypeMetadata
Auto Trait Implementations
impl RefUnwindSafe for KeywordTypeMetadata
impl Send for KeywordTypeMetadata
impl Sync for KeywordTypeMetadata
impl Unpin for KeywordTypeMetadata
impl UnwindSafe for KeywordTypeMetadata
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<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.