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