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
PubCrate
🔬 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)
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?
Source is (just) crate
Trait Implementations
impl Copy for CrateSugar
[src]
impl Copy for CrateSugar
impl Clone for CrateSugar
[src]
impl Clone for CrateSugar
fn clone(&self) -> CrateSugar
[src]
fn clone(&self) -> CrateSugar
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Encodable for CrateSugar
[src]
impl Encodable for CrateSugar
fn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>
[src]
fn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>
🔬 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]
impl Decodable for CrateSugar
fn decode<__D: Decoder>(d: &mut __D) -> Result<CrateSugar, __D::Error>
[src]
fn decode<__D: Decoder>(d: &mut __D) -> Result<CrateSugar, __D::Error>
🔬 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]
impl Debug for CrateSugar
Auto Trait Implementations
impl Send for CrateSugar
impl Send for CrateSugar
impl Sync for CrateSugar
impl Sync for CrateSugar