pub struct TypeParam {
pub attributes: Vec<TokenStream>,
pub type_ident: TokenStream,
pub bounds: Option<TokenStream>,
pub equal_ty: Option<Ty>,
}Fields§
§attributes: Vec<TokenStream>§type_ident: TokenStream§bounds: Option<TokenStream>§equal_ty: Option<Ty>Trait Implementations§
Source§impl TokenBuilderExtend for TypeParam
impl TokenBuilderExtend for TypeParam
fn add_to(&self, tb: &mut TokenBuilder)
Auto Trait Implementations§
impl !Send for TypeParam
impl !Sync for TypeParam
impl Freeze for TypeParam
impl RefUnwindSafe for TypeParam
impl Unpin for TypeParam
impl UnsafeUnpin for TypeParam
impl UnwindSafe for TypeParam
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