pub struct TypeParameters {
pub params: Vec<TypeParameter>,
pub lt_span: Span,
pub gt_spans: Vec<Span>,
}Expand description
Type parameters: <T extends Comparable<T>, U>.
Fields§
§params: Vec<TypeParameter>§lt_span: Span§gt_spans: Vec<Span>Trait Implementations§
Source§impl Clone for TypeParameters
impl Clone for TypeParameters
Source§fn clone(&self) -> TypeParameters
fn clone(&self) -> TypeParameters
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TypeParameters
impl Debug for TypeParameters
impl Eq for TypeParameters
Source§impl Hash for TypeParameters
impl Hash for TypeParameters
Source§impl PartialEq for TypeParameters
impl PartialEq for TypeParameters
Source§fn eq(&self, other: &TypeParameters) -> bool
fn eq(&self, other: &TypeParameters) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TypeParameters
Auto Trait Implementations§
impl Freeze for TypeParameters
impl RefUnwindSafe for TypeParameters
impl Send for TypeParameters
impl Sync for TypeParameters
impl Unpin for TypeParameters
impl UnsafeUnpin for TypeParameters
impl UnwindSafe for TypeParameters
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