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