Enum syntax::ast::LocalSourceExperimental [-]  [+] [src]

pub enum LocalSource {
    LocalLet,
    LocalFor,
}

Where a local declaration came from: either a true let ... = ...;, or one desugared from the pattern of a for loop.

Variants

LocalLet
LocalFor

Trait Implementations

Derived Implementations

impl Copy for LocalSource

impl Show for LocalSource

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl<__S: Writer> Hash<__S> for LocalSource

fn hash(&self, __arg_0: &mut __S)

impl<__D: Decoder<__E>, __E> Decodable<__D, __E> for LocalSource

fn decode(__arg_0: &mut __D) -> Result<LocalSource, __E>

impl<__S: Encoder<__E>, __E> Encodable<__S, __E> for LocalSource

fn encode(&self, __arg_0: &mut __S) -> Result<(), __E>

impl Eq for LocalSource

fn assert_receiver_is_total_eq(&self)

impl PartialEq for LocalSource

fn eq(&self, __arg_0: &LocalSource) -> bool

fn ne(&self, __arg_0: &LocalSource) -> bool

impl Clone for LocalSource

fn clone(&self) -> LocalSource

fn clone_from(&mut self, source: &Self)