pub enum RefitPolicy {
Disabled,
OnDemand,
WeightsStreaming,
}Expand description
Engine refit policy. OnDemand opts into BuilderFlags::REFIT,
WeightsStreaming further enables STRIP_PLAN so weights live
outside the engine plan.
Variants§
Trait Implementations§
Source§impl Clone for RefitPolicy
impl Clone for RefitPolicy
Source§fn clone(&self) -> RefitPolicy
fn clone(&self) -> RefitPolicy
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 Debug for RefitPolicy
impl Debug for RefitPolicy
Source§impl Default for RefitPolicy
impl Default for RefitPolicy
Source§fn default() -> RefitPolicy
fn default() -> RefitPolicy
Returns the “default value” for a type. Read more
Source§impl PartialEq for RefitPolicy
impl PartialEq for RefitPolicy
Source§fn eq(&self, other: &RefitPolicy) -> bool
fn eq(&self, other: &RefitPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RefitPolicy
impl Eq for RefitPolicy
impl StructuralPartialEq for RefitPolicy
Auto Trait Implementations§
impl Freeze for RefitPolicy
impl RefUnwindSafe for RefitPolicy
impl Send for RefitPolicy
impl Sync for RefitPolicy
impl Unpin for RefitPolicy
impl UnsafeUnpin for RefitPolicy
impl UnwindSafe for RefitPolicy
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