#[repr(i32)]pub enum AllocStrategy {
Static = 0,
OnProfileChange = 1,
UserManaged = 2,
}Variants§
Trait Implementations§
Source§impl Clone for trtExecutionContextAllocationStrategy_t
impl Clone for trtExecutionContextAllocationStrategy_t
Source§fn clone(&self) -> trtExecutionContextAllocationStrategy_t
fn clone(&self) -> trtExecutionContextAllocationStrategy_t
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 PartialEq for trtExecutionContextAllocationStrategy_t
impl PartialEq for trtExecutionContextAllocationStrategy_t
Source§fn eq(&self, other: &trtExecutionContextAllocationStrategy_t) -> bool
fn eq(&self, other: &trtExecutionContextAllocationStrategy_t) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for trtExecutionContextAllocationStrategy_t
impl Eq for trtExecutionContextAllocationStrategy_t
impl StructuralPartialEq for trtExecutionContextAllocationStrategy_t
Auto Trait Implementations§
impl Freeze for trtExecutionContextAllocationStrategy_t
impl RefUnwindSafe for trtExecutionContextAllocationStrategy_t
impl Send for trtExecutionContextAllocationStrategy_t
impl Sync for trtExecutionContextAllocationStrategy_t
impl Unpin for trtExecutionContextAllocationStrategy_t
impl UnsafeUnpin for trtExecutionContextAllocationStrategy_t
impl UnwindSafe for trtExecutionContextAllocationStrategy_t
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