#[non_exhaustive]pub enum TypeScriptReceiverKind {
Map,
Set,
}Expand description
TypeScript receiver category used when recognition depends on lowered type shape.
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.
Trait Implementations§
Source§impl Clone for TypeScriptReceiverKind
impl Clone for TypeScriptReceiverKind
Source§fn clone(&self) -> TypeScriptReceiverKind
fn clone(&self) -> TypeScriptReceiverKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TypeScriptReceiverKind
Source§impl Debug for TypeScriptReceiverKind
impl Debug for TypeScriptReceiverKind
impl Eq for TypeScriptReceiverKind
Source§impl PartialEq for TypeScriptReceiverKind
impl PartialEq for TypeScriptReceiverKind
Source§fn eq(&self, other: &TypeScriptReceiverKind) -> bool
fn eq(&self, other: &TypeScriptReceiverKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TypeScriptReceiverKind
Auto Trait Implementations§
impl Freeze for TypeScriptReceiverKind
impl RefUnwindSafe for TypeScriptReceiverKind
impl Send for TypeScriptReceiverKind
impl Sync for TypeScriptReceiverKind
impl Unpin for TypeScriptReceiverKind
impl UnsafeUnpin for TypeScriptReceiverKind
impl UnwindSafe for TypeScriptReceiverKind
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