pub struct AngleBracketedGenericArguments {
pub colon2_token: Option<Colon2>,
pub lt_token: Lt,
pub args: Punctuated<GenericArgument, Comma>,
pub gt_token: Gt,
}
Expand description
Angle bracketed arguments of a path segment: the <K, V>
in HashMap<K, V>
.
This type is available if Syn is built with the "derive"
or "full"
feature.
Fields§
§colon2_token: Option<Colon2>
§lt_token: Lt
§args: Punctuated<GenericArgument, Comma>
§gt_token: Gt
Trait Implementations§
Source§impl Clone for AngleBracketedGenericArguments
impl Clone for AngleBracketedGenericArguments
Source§fn clone(&self) -> AngleBracketedGenericArguments
fn clone(&self) -> AngleBracketedGenericArguments
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 PartialEq for AngleBracketedGenericArguments
impl PartialEq for AngleBracketedGenericArguments
Source§fn eq(&self, other: &AngleBracketedGenericArguments) -> bool
fn eq(&self, other: &AngleBracketedGenericArguments) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for AngleBracketedGenericArguments
impl StructuralPartialEq for AngleBracketedGenericArguments
Auto Trait Implementations§
impl Freeze for AngleBracketedGenericArguments
impl RefUnwindSafe for AngleBracketedGenericArguments
impl !Send for AngleBracketedGenericArguments
impl !Sync for AngleBracketedGenericArguments
impl Unpin for AngleBracketedGenericArguments
impl UnwindSafe for AngleBracketedGenericArguments
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,
Source§impl<T> Spanned for Twhere
T: ToTokens,
impl<T> Spanned for Twhere
T: ToTokens,
Source§fn span(&self) -> Span
fn span(&self) -> Span
Returns a
Span
covering the complete contents of this syntax tree
node, or Span::call_site()
if this node is empty.