pub struct Alias<'map> { /* private fields */ }
Implementations§
Source§impl<'map> Alias<'map>
impl<'map> Alias<'map>
pub fn aliased_path(&self) -> &Path
pub fn to_macro_path(&self) -> Path
pub fn to_type_path(&self) -> TypePath
pub fn generic_arguments(&self) -> Option<&AngleBracketedGenericArguments>
Trait Implementations§
Auto Trait Implementations§
impl<'map> Freeze for Alias<'map>
impl<'map> RefUnwindSafe for Alias<'map>
impl<'map> !Send for Alias<'map>
impl<'map> !Sync for Alias<'map>
impl<'map> Unpin for Alias<'map>
impl<'map> UnwindSafe for Alias<'map>
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