pub enum BindingElementTypeKind {
Array(TypeId),
Tuple(TupleListId),
Object(ObjectShapeId),
Other,
}Expand description
Classification for binding element (destructuring) type extraction.
Variants§
Array(TypeId)
Array type - use element type
Tuple(TupleListId)
Tuple type - use element by index
Object(ObjectShapeId)
Object type - use property type
Other
Not applicable
Trait Implementations§
Source§impl Clone for BindingElementTypeKind
impl Clone for BindingElementTypeKind
Source§fn clone(&self) -> BindingElementTypeKind
fn clone(&self) -> BindingElementTypeKind
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 BindingElementTypeKind
impl RefUnwindSafe for BindingElementTypeKind
impl Send for BindingElementTypeKind
impl Sync for BindingElementTypeKind
impl Unpin for BindingElementTypeKind
impl UnsafeUnpin for BindingElementTypeKind
impl UnwindSafe for BindingElementTypeKind
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