pub struct GenericArgs(pub Vec<GenericArgKind>);
Expand description
A list of generic arguments.
Tuple Fields§
§0: Vec<GenericArgKind>
Trait Implementations§
Source§impl Clone for GenericArgs
impl Clone for GenericArgs
Source§fn clone(&self) -> GenericArgs
fn clone(&self) -> GenericArgs
Returns a copy of the value. Read more
1.0.0 · 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 GenericArgs
impl Debug for GenericArgs
Source§impl Index<ParamConst> for GenericArgs
impl Index<ParamConst> for GenericArgs
Source§impl Index<ParamTy> for GenericArgs
impl Index<ParamTy> for GenericArgs
Source§impl PartialEq for GenericArgs
impl PartialEq for GenericArgs
Source§impl Serialize for GenericArgs
impl Serialize for GenericArgs
Source§impl Visitable for GenericArgs
impl Visitable for GenericArgs
fn super_visit<V: Visitor>(&self, visitor: &mut V) -> ControlFlow<V::Break>
fn visit<V: Visitor>(&self, visitor: &mut V) -> ControlFlow<V::Break>
impl Eq for GenericArgs
impl StructuralPartialEq for GenericArgs
Auto Trait Implementations§
impl Freeze for GenericArgs
impl RefUnwindSafe for GenericArgs
impl Send for GenericArgs
impl Sync for GenericArgs
impl Unpin for GenericArgs
impl UnwindSafe for GenericArgs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 24 bytes