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