StructRest in rustc_ast::ast - Rust (original) (raw)
pub enum StructRest {
Base(P<Expr>),
Rest(Span),
None,
}
Variants§
Base(P<Expr>)
..x
.
Rest(Span)
..
.
None
No trailing ..
or expression.
Trait Implementations§
Auto Trait Implementations§
impl DynSend for StructRest
impl DynSync for StructRest
impl Freeze for StructRest
impl RefUnwindSafe for StructRest
impl Send for StructRest
impl Sync for StructRest
impl Unpin for StructRest
impl UnwindSafe for StructRest
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: 16 bytes
Size for each variant:
Base
: 12 bytesRest
: 8 bytesNone
: 0 bytes