Enum syntax::ast::CrateSugar [−][src]
pub enum CrateSugar {
PubCrate,
JustCrate,
}Variants
PubCrateSource is pub(crate)
JustCrateSource 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)1.0.0
[src]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) -> bool1.0.0
[src]This method tests for !=.
impl Eq for CrateSugar[src]
impl Eq for CrateSugarimpl Encodable for CrateSugar[src]
impl Encodable for CrateSugarimpl Decodable for CrateSugar[src]
impl Decodable for CrateSugarimpl 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, 1.3.0
[src]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