Struct stc_ts_file_analyzer::ty::ClassMetadata
source · [−]pub struct ClassMetadata {
pub common: CommonTypeMetadata,
}
Fields
common: CommonTypeMetadata
Trait Implementations
sourceimpl Clone for ClassMetadata
impl Clone for ClassMetadata
sourcefn clone(&self) -> ClassMetadata
fn clone(&self) -> ClassMetadata
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 ClassMetadata
impl Debug for ClassMetadata
sourceimpl Default for ClassMetadata
impl Default for ClassMetadata
sourcefn default() -> ClassMetadata
fn default() -> ClassMetadata
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ClassMetadata
impl<'de> Deserialize<'de> for ClassMetadata
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<ClassMetadata, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<ClassMetadata, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl EqIgnoreSpan for ClassMetadata
impl EqIgnoreSpan for ClassMetadata
Note
This struct is treated as a span while comparison. It means, EqIgnoreSpan will always return true.
fn eq_ignore_span(&self, &ClassMetadata) -> bool
sourceimpl<F> FoldWith<F> for ClassMetadatawhere
F: ?Sized,
impl<F> FoldWith<F> for ClassMetadatawhere
F: ?Sized,
Noop.
fn fold_children_with(self, &mut F) -> ClassMetadata
fn fold_with(self, visitor: &mut V) -> Selfwhere
V: Fold<Self>,
sourceimpl PartialEq<ClassMetadata> for ClassMetadata
impl PartialEq<ClassMetadata> for ClassMetadata
sourcefn eq(&self, other: &ClassMetadata) -> bool
fn eq(&self, other: &ClassMetadata) -> bool
sourceimpl Serialize for ClassMetadata
impl Serialize for ClassMetadata
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
sourceimpl TypeEq for ClassMetadata
impl TypeEq for ClassMetadata
sourcefn type_eq(&self, &ClassMetadata) -> bool
fn type_eq(&self, &ClassMetadata) -> bool
Note: This method should return
true
for non-type values.sourceimpl TypeMetadata for ClassMetadata
impl TypeMetadata for ClassMetadata
fn common(&self) -> CommonTypeMetadata
sourceimpl<F> VisitMutWith<F> for ClassMetadatawhere
F: ?Sized,
impl<F> VisitMutWith<F> for ClassMetadatawhere
F: ?Sized,
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> VisitWith<F> for ClassMetadatawhere
F: ?Sized,
impl<F> VisitWith<F> for ClassMetadatawhere
F: ?Sized,
Noop.
fn visit_children_with(&self, &mut F)
fn visit_with(&self, visitor: &mut V)where
V: Visit<Self>,
impl Copy for ClassMetadata
impl Eq for ClassMetadata
impl StructuralEq for ClassMetadata
impl StructuralPartialEq for ClassMetadata
impl Visitable for ClassMetadata
Auto Trait Implementations
impl RefUnwindSafe for ClassMetadata
impl Send for ClassMetadata
impl Sync for ClassMetadata
impl Unpin for ClassMetadata
impl UnwindSafe for ClassMetadata
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.