ByRef in rustc_ast::ast - Rust (original) (raw)

pub enum ByRef {
    Yes(Mutability),
    No,
}

Variants§

§

Yes(Mutability)

§

No

Implementations§

Trait Implementations§

Auto Trait Implementations§

§

impl DynSend for ByRef

§

impl DynSync for ByRef

§

impl Freeze for ByRef

§

impl RefUnwindSafe for ByRef

§

impl Send for ByRef

§

impl Sync for ByRef

§

impl Unpin for ByRef

§

impl UnwindSafe for ByRef

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: 1 byte

Size for each variant: