pub enum MemRangeRole {
Src,
Dst,
}Expand description
Whether a recorded range was read by a dispatch (Src) or written
by a dispatch (Dst). Mirrors ggml_mem_range_type in
ggml-metal-common.h:14-17.
Variants§
Trait Implementations§
Source§impl Clone for MemRangeRole
impl Clone for MemRangeRole
Source§fn clone(&self) -> MemRangeRole
fn clone(&self) -> MemRangeRole
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 moreSource§impl Debug for MemRangeRole
impl Debug for MemRangeRole
Source§impl PartialEq for MemRangeRole
impl PartialEq for MemRangeRole
Source§fn eq(&self, other: &MemRangeRole) -> bool
fn eq(&self, other: &MemRangeRole) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for MemRangeRole
impl Eq for MemRangeRole
impl StructuralPartialEq for MemRangeRole
Auto Trait Implementations§
impl Freeze for MemRangeRole
impl RefUnwindSafe for MemRangeRole
impl Send for MemRangeRole
impl Sync for MemRangeRole
impl Unpin for MemRangeRole
impl UnsafeUnpin for MemRangeRole
impl UnwindSafe for MemRangeRole
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