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