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§
source§impl Clone for AliasPathMetadata
impl Clone for AliasPathMetadata
source§fn clone(&self) -> AliasPathMetadata
fn clone(&self) -> AliasPathMetadata
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AliasPathMetadata
impl Debug for AliasPathMetadata
source§impl Default for AliasPathMetadata
impl Default for AliasPathMetadata
source§fn default() -> AliasPathMetadata
fn default() -> AliasPathMetadata
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AliasPathMetadata
impl<'de> Deserialize<'de> for AliasPathMetadata
source§fn 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
source§impl PartialEq<AliasPathMetadata> for AliasPathMetadata
impl PartialEq<AliasPathMetadata> for AliasPathMetadata
source§fn eq(&self, other: &AliasPathMetadata) -> bool
fn eq(&self, other: &AliasPathMetadata) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.