Enum syntax::ast::CrateSugar[][src]

pub enum CrateSugar {
    PubCrate,
    JustCrate,
}
🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Variants

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Source is pub(crate)

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Source is (just) crate

Trait Implementations

impl Copy for CrateSugar
[src]

impl Clone for CrateSugar
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Encodable for CrateSugar
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

impl Decodable for CrateSugar
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

impl Debug for CrateSugar
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for CrateSugar

impl Sync for CrateSugar