Enum syntax::ast::IsAsync [−][src]
Variants
AsyncFields of Async
closure_id: NodeId | |
return_impl_trait_id: NodeId |
NotAsync
Methods
impl IsAsync[src]
impl IsAsyncpub fn is_async(self) -> bool[src]
pub fn is_async(self) -> boolpub fn opt_return_id(self) -> Option<NodeId>[src]
pub fn opt_return_id(self) -> Option<NodeId>In case this is an Async return the NodeId for the generated impl Trait item
Trait Implementations
impl Copy for IsAsync[src]
impl Copy for IsAsyncimpl Clone for IsAsync[src]
impl Clone for IsAsyncfn clone(&self) -> IsAsync[src]
fn clone(&self) -> IsAsyncReturns 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 IsAsyncfn eq(&self, other: &IsAsync) -> bool[src]
fn eq(&self, other: &IsAsync) -> boolThis 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) -> boolThis method tests for !=.
impl Eq for IsAsync[src]
impl Eq for IsAsyncimpl Encodable for IsAsync[src]
impl Encodable for IsAsyncimpl Decodable for IsAsync[src]
impl Decodable for IsAsyncimpl Hash for IsAsync[src]
impl Hash for IsAsyncfn 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