Struct stc_ts_types::metadata::TupleMetadata
source · [−]pub struct TupleMetadata {
pub prevent_tuple_to_array: bool,
pub common: CommonTypeMetadata,
}
Fields
prevent_tuple_to_array: bool
common: CommonTypeMetadata
Trait Implementations
sourceimpl Clone for TupleMetadata
impl Clone for TupleMetadata
sourcefn clone(&self) -> TupleMetadata
fn clone(&self) -> TupleMetadata
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 TupleMetadata
impl Debug for TupleMetadata
sourceimpl Default for TupleMetadata
impl Default for TupleMetadata
sourcefn default() -> TupleMetadata
fn default() -> TupleMetadata
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for TupleMetadata
impl<'de> Deserialize<'de> for TupleMetadata
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 TupleMetadata
impl EqIgnoreSpan for TupleMetadata
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 TupleMetadata
impl<F: ?Sized> FoldWith<F> for TupleMetadata
Noop.
sourceimpl PartialEq<TupleMetadata> for TupleMetadata
impl PartialEq<TupleMetadata> for TupleMetadata
sourcefn eq(&self, other: &TupleMetadata) -> bool
fn eq(&self, other: &TupleMetadata) -> bool
sourceimpl Serialize for TupleMetadata
impl Serialize for TupleMetadata
sourceimpl TypeEq for TupleMetadata
impl TypeEq for TupleMetadata
sourceimpl TypeMetadata for TupleMetadata
impl TypeMetadata for TupleMetadata
fn common(&self) -> CommonTypeMetadata
sourceimpl<F: ?Sized> VisitMutWith<F> for TupleMetadata
impl<F: ?Sized> VisitMutWith<F> for TupleMetadata
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 TupleMetadata
impl<F: ?Sized> VisitWith<F> for TupleMetadata
Noop.
fn visit_children_with(&self, _: &mut F)
fn visit_with(&self, visitor: &mut V)where
V: Visit<Self>,
impl Copy for TupleMetadata
impl Eq for TupleMetadata
impl StructuralEq for TupleMetadata
impl StructuralPartialEq for TupleMetadata
impl Visitable for TupleMetadata
Auto Trait Implementations
impl RefUnwindSafe for TupleMetadata
impl Send for TupleMetadata
impl Sync for TupleMetadata
impl Unpin for TupleMetadata
impl UnwindSafe for TupleMetadata
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.