Enum rustc_parse::parser::expr::LhsExpr [−][src]
pub(super) enum LhsExpr {
NotYetParsed,
AttributesParsed(AttrWrapper),
AlreadyParsed(P<Expr>),
}
Variants
AttributesParsed(AttrWrapper)
Tuple Fields of AttributesParsed
0: AttrWrapper
Trait Implementations
Converts Some(attrs)
into LhsExpr::AttributesParsed(attrs)
and None
into LhsExpr::NotYetParsed
.
This conversion does not allocate.
Auto Trait Implementations
impl !RefUnwindSafe for LhsExpr
impl !UnwindSafe for LhsExpr
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:
NotYetParsed
: 0 bytesAttributesParsed
: 16 bytesAlreadyParsed
: 8 bytes