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