pub struct GenericTypeInput {
pub generics: Generics,
pub ty: Type,
}
Expand description
The input of the generic_type
macro.
Fields§
§generics: Generics
§ty: Type
Trait Implementations§
Source§impl Debug for GenericTypeInput
impl Debug for GenericTypeInput
Source§impl Parse for GenericTypeInput
impl Parse for GenericTypeInput
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl Freeze for GenericTypeInput
impl RefUnwindSafe for GenericTypeInput
impl !Send for GenericTypeInput
impl !Sync for GenericTypeInput
impl Unpin for GenericTypeInput
impl UnwindSafe for GenericTypeInput
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