pub struct TypeParam {
pub name: String,
pub bounds: Vec<String>,
}Expand description
A type parameter of a generic function, with the traits of its bounds (the last segments of their paths).
Fields§
§name: String§bounds: Vec<String>Trait Implementations§
Auto Trait Implementations§
impl Forget for TypeParam
impl Freeze for TypeParam
impl Move for TypeParam
impl RefUnwindSafe for TypeParam
impl Send for TypeParam
impl Sync 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