pub struct CSEX2PassConfig {
pub name: String,
pub phase: CSEX2PassPhase,
pub enabled: bool,
pub max_iterations: usize,
pub debug: u32,
pub timeout_ms: Option<u64>,
}Expand description
Configuration for CSEX2 passes.
Fields§
§name: String§phase: CSEX2PassPhase§enabled: bool§max_iterations: usize§debug: u32§timeout_ms: Option<u64>Implementations§
Source§impl CSEX2PassConfig
impl CSEX2PassConfig
pub fn new(name: impl Into<String>) -> Self
pub fn with_phase(self, phase: CSEX2PassPhase) -> Self
pub fn with_max_iter(self, n: usize) -> Self
pub fn with_debug(self, d: u32) -> Self
pub fn disabled(self) -> Self
pub fn with_timeout(self, ms: u64) -> Self
pub fn is_debug_enabled(&self) -> bool
Trait Implementations§
Source§impl Clone for CSEX2PassConfig
impl Clone for CSEX2PassConfig
Source§fn clone(&self) -> CSEX2PassConfig
fn clone(&self) -> CSEX2PassConfig
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 CSEX2PassConfig
impl Debug for CSEX2PassConfig
Auto Trait Implementations§
impl Freeze for CSEX2PassConfig
impl RefUnwindSafe for CSEX2PassConfig
impl Send for CSEX2PassConfig
impl Sync for CSEX2PassConfig
impl Unpin for CSEX2PassConfig
impl UnsafeUnpin for CSEX2PassConfig
impl UnwindSafe for CSEX2PassConfig
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