pub struct TypeParam {
pub attrs: Vec<Attribute>,
pub ident: Ident,
pub as_token: Option<As>,
pub param_kind: ParamKind,
pub colon_token: Option<Colon>,
pub bounds: Punctuated<TypeParamBound, Plus>,
}
Fields§
§attrs: Vec<Attribute>
§ident: Ident
§as_token: Option<As>
§param_kind: ParamKind
§colon_token: Option<Colon>
§bounds: Punctuated<TypeParamBound, Plus>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TypeParam
impl RefUnwindSafe for TypeParam
impl !Send for TypeParam
impl !Sync for TypeParam
impl Unpin 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