Enum syntax::ast::IsAsync [−][src]
pub enum IsAsync { Async(NodeId), NotAsync, }
Variants
Async(NodeId)
NotAsync
Methods
impl IsAsync
[src]
impl IsAsync
Trait Implementations
impl Copy for IsAsync
[src]
impl Copy for IsAsync
impl Clone for IsAsync
[src]
impl Clone for IsAsync
fn clone(&self) -> IsAsync
[src]
fn clone(&self) -> IsAsync
Returns 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 IsAsync
[src]
impl PartialEq for IsAsync
fn eq(&self, other: &IsAsync) -> bool
[src]
fn eq(&self, other: &IsAsync) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &IsAsync) -> bool
[src]
fn ne(&self, other: &IsAsync) -> bool
This method tests for !=
.
impl Eq for IsAsync
[src]
impl Eq for IsAsync
impl Encodable for IsAsync
[src]
impl Encodable for IsAsync
impl Decodable for IsAsync
[src]
impl Decodable for IsAsync
impl Hash for IsAsync
[src]
impl Hash for IsAsync
fn 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 IsAsync
[src]
impl Debug for IsAsync