Enum javascriptcore::TypedArrayType
source · #[non_exhaustive]pub enum TypedArrayType {
None,
Int8,
Int16,
Int32,
Int64,
Uint8,
Uint8Clamped,
Uint16,
Uint32,
Uint64,
Float32,
Float64,
}
Available on crate feature
v2_38
only.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 TypedArrayType
impl Clone for TypedArrayType
source§fn clone(&self) -> TypedArrayType
fn clone(&self) -> TypedArrayType
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 TypedArrayType
impl Debug for TypedArrayType
source§impl Hash for TypedArrayType
impl Hash for TypedArrayType
source§impl Ord for TypedArrayType
impl Ord for TypedArrayType
source§fn cmp(&self, other: &TypedArrayType) -> Ordering
fn cmp(&self, other: &TypedArrayType) -> 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 PartialEq for TypedArrayType
impl PartialEq for TypedArrayType
source§fn eq(&self, other: &TypedArrayType) -> bool
fn eq(&self, other: &TypedArrayType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for TypedArrayType
impl PartialOrd for TypedArrayType
source§fn partial_cmp(&self, other: &TypedArrayType) -> Option<Ordering>
fn partial_cmp(&self, other: &TypedArrayType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for TypedArrayType
impl Eq for TypedArrayType
impl StructuralEq for TypedArrayType
impl StructuralPartialEq for TypedArrayType
Auto Trait Implementations§
impl RefUnwindSafe for TypedArrayType
impl Send for TypedArrayType
impl Sync for TypedArrayType
impl Unpin for TypedArrayType
impl UnwindSafe for TypedArrayType
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