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