Enum syntax::ast::IsAsync [−][src]
Variants
Async
Fields of Async
closure_id: NodeId | |
return_impl_trait_id: NodeId |
NotAsync
Methods
impl IsAsync
[src]
impl IsAsync
pub fn is_async(self) -> bool
[src]
pub fn is_async(self) -> bool
pub 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 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 Encodable for IsAsync
[src]
impl Encodable for IsAsync
impl Decodable for IsAsync
[src]
impl Decodable for IsAsync
impl Debug for IsAsync
[src]
impl Debug for IsAsync