pub struct GenericArgs {
pub args: Vec<GenericArg>,
pub span: Span,
}Expand description
Generic arguments at a use site: <i32, String> or <T = i32>
Fields§
§args: Vec<GenericArg>§span: SpanImplementations§
Trait Implementations§
Source§impl Clone for GenericArgs
impl Clone for GenericArgs
Source§fn clone(&self) -> GenericArgs
fn clone(&self) -> GenericArgs
Returns a duplicate 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 Default for GenericArgs
impl Default for GenericArgs
Source§impl PartialEq for GenericArgs
impl PartialEq 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