Enum rustc_ast::ast::GenericArg
source · Expand description
Concrete argument in the sequence of generic args.
Variants§
Implementations§
Trait Implementations§
source§impl Clone for GenericArg
impl Clone for GenericArg
source§fn clone(&self) -> GenericArg
fn clone(&self) -> GenericArg
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 GenericArg
impl Debug for GenericArg
source§impl<__D: Decoder> Decodable<__D> for GenericArg
impl<__D: Decoder> Decodable<__D> for GenericArg
Auto Trait Implementations§
impl !RefUnwindSafe for GenericArg
impl !Send for GenericArg
impl !Sync for GenericArg
impl Unpin for GenericArg
impl !UnwindSafe for GenericArg
Blanket Implementations§
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
Size for each variant:
Lifetime
: 16 bytesType
: 12 bytesConst
: 20 bytes