pub struct TypeAliasInfo {
pub name: String,
pub path: String,
pub generics: Vec<GenericParam>,
pub ty: String,
pub resolved_ty: String,
pub visibility: Visibility,
pub docs: Option<String>,
pub span: Option<SpanInfo>,
}Expand description
Information about a type alias.
Fieldsยง
ยงname: Stringยงpath: Stringยงgenerics: Vec<GenericParam>ยงty: StringThe aliased type
resolved_ty: StringFully resolved type (following all aliases)
visibility: Visibilityยงdocs: Option<String>ยงspan: Option<SpanInfo>Trait Implementationsยง
Sourceยงimpl Clone for TypeAliasInfo
impl Clone for TypeAliasInfo
Sourceยงfn clone(&self) -> TypeAliasInfo
fn clone(&self) -> TypeAliasInfo
Returns a duplicate 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 TypeAliasInfo
impl Debug for TypeAliasInfo
Sourceยงimpl<'de> Deserialize<'de> for TypeAliasInfo
impl<'de> Deserialize<'de> for TypeAliasInfo
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
Auto Trait Implementationsยง
impl Freeze for TypeAliasInfo
impl RefUnwindSafe for TypeAliasInfo
impl Send for TypeAliasInfo
impl Sync for TypeAliasInfo
impl Unpin for TypeAliasInfo
impl UnwindSafe for TypeAliasInfo
Blanket Implementationsยง
Sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more