Struct sway_parse::generics::GenericArgs
source · [−]pub struct GenericArgs {
pub parameters: AngleBrackets<Punctuated<Ty, CommaToken>>,
}
Fields
parameters: AngleBrackets<Punctuated<Ty, CommaToken>>
Trait Implementations
sourceimpl Clone for GenericArgs
impl Clone for GenericArgs
sourcefn clone(&self) -> GenericArgs
fn clone(&self) -> GenericArgs
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GenericArgs
impl Debug for GenericArgs
sourceimpl Parse for GenericArgs
impl Parse for GenericArgs
fn parse(parser: &mut Parser<'_, '_>) -> ParseResult<GenericArgs>
Auto Trait Implementations
impl RefUnwindSafe for GenericArgs
impl Send for GenericArgs
impl Sync for GenericArgs
impl Unpin for GenericArgs
impl UnwindSafe for GenericArgs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more