Enum ort::AllocatorType
source · pub enum AllocatorType {
Device,
Arena,
}
Expand description
Execution provider allocator type.
Variants§
Trait Implementations§
source§impl Clone for AllocatorType
impl Clone for AllocatorType
source§fn clone(&self) -> AllocatorType
fn clone(&self) -> AllocatorType
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 AllocatorType
impl Debug for AllocatorType
source§impl From<AllocatorType> for OrtAllocatorType
impl From<AllocatorType> for OrtAllocatorType
source§fn from(val: AllocatorType) -> Self
fn from(val: AllocatorType) -> Self
Converts to this type from the input type.
impl Copy for AllocatorType
Auto Trait Implementations§
impl RefUnwindSafe for AllocatorType
impl Send for AllocatorType
impl Sync for AllocatorType
impl Unpin for AllocatorType
impl UnwindSafe for AllocatorType
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