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