pub struct PlannerConfig {
pub enable_gpu: bool,
pub enable_lints: bool,
pub active_features: Vec<String>,
}Expand description
Static planner config controlling optional passes.
use daedalus_planner::PlannerConfig;
let cfg = PlannerConfig::default();
assert!(!cfg.enable_gpu);Fields§
§enable_gpu: bool§enable_lints: bool§active_features: Vec<String>Trait Implementations§
Source§impl Clone for PlannerConfig
impl Clone for PlannerConfig
Source§fn clone(&self) -> PlannerConfig
fn clone(&self) -> PlannerConfig
Returns a duplicate 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 PlannerConfig
impl Debug for PlannerConfig
Source§impl Default for PlannerConfig
impl Default for PlannerConfig
Source§fn default() -> PlannerConfig
fn default() -> PlannerConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PlannerConfig
impl RefUnwindSafe for PlannerConfig
impl Send for PlannerConfig
impl Sync for PlannerConfig
impl Unpin for PlannerConfig
impl UnwindSafe for PlannerConfig
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