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