struct OriginalType<'a> {
attrs: &'a [Attribute],
vis: &'a Visibility,
ident: &'a Ident,
generics: &'a Generics,
}
Fields§
§attrs: &'a [Attribute]
Attributes of the original type.
vis: &'a Visibility
Visibility of the original type.
ident: &'a Ident
Name of the original type.
generics: &'a Generics
Generics of the original type.
Auto Trait Implementations§
impl<'a> Freeze for OriginalType<'a>
impl<'a> RefUnwindSafe for OriginalType<'a>
impl<'a> !Send for OriginalType<'a>
impl<'a> !Sync for OriginalType<'a>
impl<'a> Unpin for OriginalType<'a>
impl<'a> UnwindSafe for OriginalType<'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