pub enum IterableTypeKind {
Tuple(Vec<TupleElement>),
Array(TypeId),
Other,
}Expand description
Classification for iterable types (used for spread element handling).
Variants§
Tuple(Vec<TupleElement>)
Tuple type - elements can be expanded
Array(TypeId)
Array type - element type for variadic handling
Other
Not a directly iterable type (caller should handle as-is)
Trait Implementations§
Source§impl Clone for IterableTypeKind
impl Clone for IterableTypeKind
Source§fn clone(&self) -> IterableTypeKind
fn clone(&self) -> IterableTypeKind
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for IterableTypeKind
impl RefUnwindSafe for IterableTypeKind
impl Send for IterableTypeKind
impl Sync for IterableTypeKind
impl Unpin for IterableTypeKind
impl UnsafeUnpin for IterableTypeKind
impl UnwindSafe for IterableTypeKind
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