pub struct PlanOptions {
pub include_graph_inputs: bool,
}Expand description
Options controlling what the activation planner considers part of the arena.
Fields§
§include_graph_inputs: boolInclude graph inputs as buffer owners in the activation arena.
Defaults to false: graph inputs are supplied by the caller (feeds) and
are not part of the executor-owned scratch arena. Set to true when the
caller wants the planner to also account for input buffers (e.g. a
self-contained arena that copies feeds in).
Implementations§
Source§impl PlanOptions
impl PlanOptions
Sourcepub fn with_graph_inputs(self, include: bool) -> Self
pub fn with_graph_inputs(self, include: bool) -> Self
Also treat graph inputs as arena buffer owners.
Trait Implementations§
Source§impl Clone for PlanOptions
impl Clone for PlanOptions
Source§fn clone(&self) -> PlanOptions
fn clone(&self) -> PlanOptions
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 moreimpl Copy for PlanOptions
Source§impl Debug for PlanOptions
impl Debug for PlanOptions
Source§impl Default for PlanOptions
impl Default for PlanOptions
Source§fn default() -> PlanOptions
fn default() -> PlanOptions
Returns the “default value” for a type. Read more
impl Eq for PlanOptions
Source§impl PartialEq for PlanOptions
impl PartialEq for PlanOptions
impl StructuralPartialEq for PlanOptions
Auto Trait Implementations§
impl Freeze for PlanOptions
impl RefUnwindSafe for PlanOptions
impl Send for PlanOptions
impl Sync for PlanOptions
impl Unpin for PlanOptions
impl UnsafeUnpin for PlanOptions
impl UnwindSafe for PlanOptions
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