Defaultness in rustc_ast::ast - Rust (original) (raw)
pub enum Defaultness {
Default(Span),
Final,
}
Expand description
Item defaultness. For details see the RFC #2532.
Variants§
Default(Span)
Final
Trait Implementations§
Auto Trait Implementations§
impl DynSend for Defaultness
impl DynSync for Defaultness
impl Freeze for Defaultness
impl RefUnwindSafe for Defaultness
impl Send for Defaultness
impl Sync for Defaultness
impl Unpin for Defaultness
impl UnwindSafe for Defaultness
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: 12 bytes
Size for each variant:
Default
: 8 bytesFinal
: 0 bytes