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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for CrateSugar
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for CrateSugar
[src]

impl Encodable for CrateSugar
[src]

[src]

impl Decodable for CrateSugar
[src]

[src]

impl Hash for CrateSugar
[src]

[src]

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

1.3.0
[src]

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

impl Debug for CrateSugar
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for CrateSugar

impl Sync for CrateSugar