Enum rustc_ast::ast::CrateSugar [−][src]
pub enum CrateSugar {
PubCrate,
JustCrate,
}
Variants
Source is pub(crate)
.
Source is (just) crate
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CrateSugar
impl Send for CrateSugar
impl Sync for CrateSugar
impl Unpin for CrateSugar
impl UnwindSafe for CrateSugar
Blanket Implementations
Mutably borrows from an owned value. Read more
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:
PubCrate
: 0 bytesJustCrate
: 0 bytes