Enum syntax::ast::LocalSource[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 |
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.
LocalLet | |
LocalFor |
impl<__S: Writer> Hash<__S> for LocalSourcefn hash(&self, __arg_0: &mut __S)impl<__D: Decoder<__E>, __E> Decodable<__D, __E> for LocalSourcefn decode(__arg_0: &mut __D) -> Result<LocalSource, __E>impl<__S: Encoder<__E>, __E> Encodable<__S, __E> for LocalSourceimpl Eq for LocalSourcefn assert_receiver_is_total_eq(&self)impl PartialEq for LocalSourcefn eq(&self, __arg_0: &LocalSource) -> boolfn ne(&self, __arg_0: &LocalSource) -> boolimpl Clone for LocalSourcefn clone(&self) -> LocalSourcefn clone_from(&mut self, source: &Self)
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct (or str), enum,
trait, typedef (or
tdef).