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

pub enum CrateSugar {
    PubCrate,
    JustCrate,
}

Variants

Source is pub(crate)

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 PartialEq for CrateSugar
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for CrateSugar
[src]

impl Encodable for CrateSugar
[src]

impl Decodable for CrateSugar
[src]

impl Hash for CrateSugar
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

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