#[non_exhaustive]pub enum IteratorItemType {
Primitive(Primitive),
Struct(UniversalOr<FunctionReturnStructField>),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Primitive(Primitive)
Struct(UniversalOr<FunctionReturnStructField>)
Trait Implementations§
Source§impl Clone for IteratorItemType
impl Clone for IteratorItemType
Source§fn clone(&self) -> IteratorItemType
fn clone(&self) -> IteratorItemType
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 Debug for IteratorItemType
impl Debug for IteratorItemType
Source§impl From<Handle<Struct<FunctionReturnStructField, Unvalidated>>> for IteratorItemType
impl From<Handle<Struct<FunctionReturnStructField, Unvalidated>>> for IteratorItemType
Source§fn from(x: FunctionReturnStructHandle) -> Self
fn from(x: FunctionReturnStructHandle) -> Self
Converts to this type from the input type.
Source§impl From<Handle<Struct<UniversalStructField, Unvalidated>>> for IteratorItemType
impl From<Handle<Struct<UniversalStructField, Unvalidated>>> for IteratorItemType
Source§fn from(x: UniversalStructHandle) -> Self
fn from(x: UniversalStructHandle) -> Self
Converts to this type from the input type.
Source§impl From<Primitive> for IteratorItemType
impl From<Primitive> for IteratorItemType
Source§impl From<UniversalOr<FunctionReturnStructField>> for IteratorItemType
impl From<UniversalOr<FunctionReturnStructField>> for IteratorItemType
Source§fn from(x: UniversalOr<FunctionReturnStructField>) -> Self
fn from(x: UniversalOr<FunctionReturnStructField>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IteratorItemType
impl RefUnwindSafe for IteratorItemType
impl !Send for IteratorItemType
impl !Sync for IteratorItemType
impl Unpin for IteratorItemType
impl UnwindSafe for IteratorItemType
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