#[repr(i32)]pub enum OrtDeviceMemoryType {
OrtDeviceMemoryType_DEFAULT = 0,
OrtDeviceMemoryType_HOST_ACCESSIBLE = 5,
}Variants§
Trait Implementations§
Source§impl Clone for OrtDeviceMemoryType
impl Clone for OrtDeviceMemoryType
Source§fn clone(&self) -> OrtDeviceMemoryType
fn clone(&self) -> OrtDeviceMemoryType
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 OrtDeviceMemoryType
impl Debug for OrtDeviceMemoryType
Source§impl Hash for OrtDeviceMemoryType
impl Hash for OrtDeviceMemoryType
Source§impl PartialEq for OrtDeviceMemoryType
impl PartialEq for OrtDeviceMemoryType
impl Copy for OrtDeviceMemoryType
impl Eq for OrtDeviceMemoryType
impl StructuralPartialEq for OrtDeviceMemoryType
Auto Trait Implementations§
impl Freeze for OrtDeviceMemoryType
impl RefUnwindSafe for OrtDeviceMemoryType
impl Send for OrtDeviceMemoryType
impl Sync for OrtDeviceMemoryType
impl Unpin for OrtDeviceMemoryType
impl UnsafeUnpin for OrtDeviceMemoryType
impl UnwindSafe for OrtDeviceMemoryType
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