pub struct Generics<T> {
pub open_angle: LessThan,
pub body: T,
pub close_angle: GreaterThan,
}
Expand description
Parses < body >
Fields§
§open_angle: LessThan
§body: T
§close_angle: GreaterThan
Trait Implementations§
Source§impl<T: Ord> Ord for Generics<T>
impl<T: Ord> Ord for Generics<T>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<T: PartialOrd> PartialOrd for Generics<T>
impl<T: PartialOrd> PartialOrd for Generics<T>
impl<T: Copy> Copy for Generics<T>
impl<T: Eq> Eq for Generics<T>
impl<T> StructuralPartialEq for Generics<T>
Auto Trait Implementations§
impl<T> Freeze for Generics<T>where
T: Freeze,
impl<T> RefUnwindSafe for Generics<T>where
T: RefUnwindSafe,
impl<T> Send for Generics<T>where
T: Send,
impl<T> Sync for Generics<T>where
T: Sync,
impl<T> Unpin for Generics<T>where
T: Unpin,
impl<T> UnwindSafe for Generics<T>where
T: UnwindSafe,
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