pub struct DoubleTypedAsyncIterable<'a> {
pub attributes: Option<ExtendedAttributeList<'a>>,
pub async_iterable: (Async, Iterable),
pub generics: Generics<(AttributedType<'a>, Comma, AttributedType<'a>)>,
pub args: Option<Parenthesized<ArgumentList<'a>>>,
pub semi_colon: SemiColon,
}
Expand description
Parses an async iterable declaration [attributes]? async iterable<attributedtype, attributedtype> (( args ))? ;
Fields§
§attributes: Option<ExtendedAttributeList<'a>>
§async_iterable: (Async, Iterable)
§generics: Generics<(AttributedType<'a>, Comma, AttributedType<'a>)>
§args: Option<Parenthesized<ArgumentList<'a>>>
§semi_colon: SemiColon
Trait Implementations§
Source§impl<'a> Clone for DoubleTypedAsyncIterable<'a>
impl<'a> Clone for DoubleTypedAsyncIterable<'a>
Source§fn clone(&self) -> DoubleTypedAsyncIterable<'a>
fn clone(&self) -> DoubleTypedAsyncIterable<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for DoubleTypedAsyncIterable<'a>
impl<'a> Debug for DoubleTypedAsyncIterable<'a>
Source§impl<'a> From<DoubleTypedAsyncIterable<'a>> for AsyncIterableInterfaceMember<'a>
impl<'a> From<DoubleTypedAsyncIterable<'a>> for AsyncIterableInterfaceMember<'a>
Source§fn from(x: DoubleTypedAsyncIterable<'a>) -> Self
fn from(x: DoubleTypedAsyncIterable<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> Hash for DoubleTypedAsyncIterable<'a>
impl<'a> Hash for DoubleTypedAsyncIterable<'a>
Source§impl<'a> Ord for DoubleTypedAsyncIterable<'a>
impl<'a> Ord for DoubleTypedAsyncIterable<'a>
Source§fn cmp(&self, other: &DoubleTypedAsyncIterable<'a>) -> Ordering
fn cmp(&self, other: &DoubleTypedAsyncIterable<'a>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> Parse<'a> for DoubleTypedAsyncIterable<'a>
impl<'a> Parse<'a> for DoubleTypedAsyncIterable<'a>
Source§impl<'a> PartialEq for DoubleTypedAsyncIterable<'a>
impl<'a> PartialEq for DoubleTypedAsyncIterable<'a>
Source§fn eq(&self, other: &DoubleTypedAsyncIterable<'a>) -> bool
fn eq(&self, other: &DoubleTypedAsyncIterable<'a>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl<'a> PartialOrd for DoubleTypedAsyncIterable<'a>
impl<'a> PartialOrd for DoubleTypedAsyncIterable<'a>
impl<'a> Eq for DoubleTypedAsyncIterable<'a>
impl<'a> StructuralPartialEq for DoubleTypedAsyncIterable<'a>
Auto Trait Implementations§
impl<'a> Freeze for DoubleTypedAsyncIterable<'a>
impl<'a> RefUnwindSafe for DoubleTypedAsyncIterable<'a>
impl<'a> Send for DoubleTypedAsyncIterable<'a>
impl<'a> Sync for DoubleTypedAsyncIterable<'a>
impl<'a> Unpin for DoubleTypedAsyncIterable<'a>
impl<'a> UnwindSafe for DoubleTypedAsyncIterable<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more