pub struct AliasPathMetadata {
pub type_: Option<Type>,
pub attributes: Option<Attributes>,
}
Fields
type_: Option<Type>
The type of the token that the alias path is referring to.
attributes: Option<Attributes>
The attributes of the token that the alias path is referring to.
Implementations
Trait Implementations
sourceimpl Clone for AliasPathMetadata
impl Clone for AliasPathMetadata
sourcefn clone(&self) -> AliasPathMetadata
fn clone(&self) -> AliasPathMetadata
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 AliasPathMetadata
impl Debug for AliasPathMetadata
sourceimpl Default for AliasPathMetadata
impl Default for AliasPathMetadata
sourcefn default() -> AliasPathMetadata
fn default() -> AliasPathMetadata
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for AliasPathMetadata
impl<'de> Deserialize<'de> for AliasPathMetadata
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 PartialEq<AliasPathMetadata> for AliasPathMetadata
impl PartialEq<AliasPathMetadata> for AliasPathMetadata
sourcefn eq(&self, other: &AliasPathMetadata) -> bool
fn eq(&self, other: &AliasPathMetadata) -> bool
sourceimpl Serialize for AliasPathMetadata
impl Serialize for AliasPathMetadata
impl StructuralPartialEq for AliasPathMetadata
Auto Trait Implementations
impl RefUnwindSafe for AliasPathMetadata
impl Send for AliasPathMetadata
impl Sync for AliasPathMetadata
impl Unpin for AliasPathMetadata
impl UnwindSafe for AliasPathMetadata
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