#[repr(C)]pub struct mlx_device_ {
pub ctx: *mut c_void,
}Fields§
§ctx: *mut c_voidTrait Implementations§
Source§impl Clone for mlx_device_
impl Clone for mlx_device_
Source§fn clone(&self) -> mlx_device_
fn clone(&self) -> mlx_device_
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 moreSource§impl Debug for mlx_device_
impl Debug for mlx_device_
impl Copy for mlx_device_
Auto Trait Implementations§
impl Freeze for mlx_device_
impl RefUnwindSafe for mlx_device_
impl !Send for mlx_device_
impl !Sync for mlx_device_
impl Unpin for mlx_device_
impl UnsafeUnpin for mlx_device_
impl UnwindSafe for mlx_device_
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