Enum ort::ArenaExtendStrategy
source · pub enum ArenaExtendStrategy {
NextPowerOfTwo,
SameAsRequested,
}
Expand description
The strategy for extending the device memory arena.
Variants§
NextPowerOfTwo
(Default) Subsequent extensions extend by larger amounts (multiplied by powers of two)
SameAsRequested
Memory extends by the requested amount.
Trait Implementations§
source§impl Clone for ArenaExtendStrategy
impl Clone for ArenaExtendStrategy
source§fn clone(&self) -> ArenaExtendStrategy
fn clone(&self) -> ArenaExtendStrategy
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 ArenaExtendStrategy
impl Debug for ArenaExtendStrategy
source§impl Default for ArenaExtendStrategy
impl Default for ArenaExtendStrategy
source§fn default() -> ArenaExtendStrategy
fn default() -> ArenaExtendStrategy
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ArenaExtendStrategy
impl RefUnwindSafe for ArenaExtendStrategy
impl Send for ArenaExtendStrategy
impl Sync for ArenaExtendStrategy
impl Unpin for ArenaExtendStrategy
impl UnwindSafe for ArenaExtendStrategy
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