pub enum GraphOptimization {
Disabled,
Basic,
Extended,
All,
}Expand description
Graph optimization level requested from a backend.
Variants§
Disabled
Disable graph rewrites.
Basic
Apply safe basic rewrites.
Extended
Apply extended rewrites.
All
Apply all backend-supported rewrites.
Trait Implementations§
Source§impl Clone for GraphOptimization
impl Clone for GraphOptimization
Source§fn clone(&self) -> GraphOptimization
fn clone(&self) -> GraphOptimization
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 GraphOptimization
impl Debug for GraphOptimization
Source§impl Default for GraphOptimization
impl Default for GraphOptimization
Source§fn default() -> GraphOptimization
fn default() -> GraphOptimization
Returns the “default value” for a type. Read more
Source§impl Hash for GraphOptimization
impl Hash for GraphOptimization
Source§impl PartialEq for GraphOptimization
impl PartialEq for GraphOptimization
Source§fn eq(&self, other: &GraphOptimization) -> bool
fn eq(&self, other: &GraphOptimization) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for GraphOptimization
impl Eq for GraphOptimization
impl StructuralPartialEq for GraphOptimization
Auto Trait Implementations§
impl Freeze for GraphOptimization
impl RefUnwindSafe for GraphOptimization
impl Send for GraphOptimization
impl Sync for GraphOptimization
impl Unpin for GraphOptimization
impl UnsafeUnpin for GraphOptimization
impl UnwindSafe for GraphOptimization
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