pub enum MlxDtype {
Show 14 variants
Bool,
UInt8,
UInt16,
UInt32,
UInt64,
Int8,
Int16,
Int32,
Int64,
Float16,
Float32,
Float64,
BFloat16,
Complex64,
}Expand description
MLX array element types exposed without leaking generated C declarations.
Variants§
Implementations§
Trait Implementations§
impl Copy for MlxDtype
impl Eq for MlxDtype
impl StructuralPartialEq for MlxDtype
Auto Trait Implementations§
impl Freeze for MlxDtype
impl RefUnwindSafe for MlxDtype
impl Send for MlxDtype
impl Sync for MlxDtype
impl Unpin for MlxDtype
impl UnsafeUnpin for MlxDtype
impl UnwindSafe for MlxDtype
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