#[repr(i32)]pub enum AllocatorType {
Device = 0,
Arena = 1,
}
Expand description
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.
Auto Trait Implementations§
impl Freeze for AllocatorType
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