pub struct Generics {
pub params: Vec<GenericParam>,
pub predicates: Vec<WhereBoundPredicate>,
pub span: Span,
}
Fields§
§params: Vec<GenericParam>
§predicates: Vec<WhereBoundPredicate>
§span: Span
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Generics
impl RefUnwindSafe for Generics
impl Send for Generics
impl Sync for Generics
impl Unpin for Generics
impl UnwindSafe for Generics
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