Struct stc_ts_types::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<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 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, _: &Self) -> bool
sourceimpl<F: ?Sized> FoldWith<F> for ConditionalMetadata
impl<F: ?Sized> FoldWith<F> for ConditionalMetadata
Noop.
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
sourceimpl TypeEq for ConditionalMetadata
impl TypeEq for ConditionalMetadata
sourceimpl TypeMetadata for ConditionalMetadata
impl TypeMetadata for ConditionalMetadata
fn common(&self) -> CommonTypeMetadata
sourceimpl<F: ?Sized> VisitMutWith<F> for ConditionalMetadata
impl<F: ?Sized> VisitMutWith<F> for ConditionalMetadata
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 ConditionalMetadata
impl<F: ?Sized> VisitWith<F> for ConditionalMetadata
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.