pub struct Alias<'a> {
pub docs: Option<&'a Comment<'a>>,
pub name: &'a Located<&'a str>,
pub arguments: &'a [&'a TypeParam<'a>],
pub typ: &'a Located<Type<'a>>,
pub attributes: &'a [&'a Attribute<'a>],
}Fields§
§docs: Option<&'a Comment<'a>>§name: &'a Located<&'a str>§arguments: &'a [&'a TypeParam<'a>]§typ: &'a Located<Type<'a>>§attributes: &'a [&'a Attribute<'a>]Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for Alias<'a>
impl<'a> Freeze for Alias<'a>
impl<'a> Move for Alias<'a>
impl<'a> RefUnwindSafe for Alias<'a>
impl<'a> Send for Alias<'a>
impl<'a> Sync for Alias<'a>
impl<'a> Unpin for Alias<'a>
impl<'a> UnsafeUnpin for Alias<'a>
impl<'a> UnwindSafe for Alias<'a>
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