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 CrateSugarimpl Clone for CrateSugar[src]
impl Clone for CrateSugarfn clone(&self) -> CrateSugar[src]
fn clone(&self) -> CrateSugarReturns 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 PartialEq for CrateSugar[src]
impl PartialEq for CrateSugarfn eq(&self, other: &CrateSugar) -> bool[src]
fn eq(&self, other: &CrateSugar) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl Eq for CrateSugar[src]
impl Eq for CrateSugarfn assert_receiver_is_total_eq(&self)[src]
fn assert_receiver_is_total_eq(&self)impl Encodable for CrateSugar[src]
impl Encodable for CrateSugarfn 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 CrateSugarfn 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 Hash for CrateSugar[src]
impl Hash for CrateSugarfn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, Feeds a slice of this type into the given [Hasher]. Read more
impl Debug for CrateSugar[src]
impl Debug for CrateSugarAuto Trait Implementations
impl Send for CrateSugar
impl Send for CrateSugarimpl Sync for CrateSugar
impl Sync for CrateSugar