Const in rustc_ast::ast - Rust (original) (raw)
pub enum Const {
Yes(Span),
No,
}
Variants§
Yes(Span)
No
Trait Implementations§
Auto Trait Implementations§
impl DynSend for Const
impl DynSync for Const
impl Freeze for Const
impl RefUnwindSafe for Const
impl Send for Const
impl Sync for Const
impl Unpin for Const
impl UnwindSafe for Const
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:
Yes
: 8 bytesNo
: 0 bytes