pub struct EmitOptions {
pub missing_gen_cost: MissingGenCostPolicy,
pub gen_cost_patches: Vec<GenCostPatch>,
}Expand description
Optional emission policies layered on top of the neutral BalancedNetwork.
The default preserves the module as stated. Other options work on a cloned network and never mutate the caller’s case.
Fields§
§missing_gen_cost: MissingGenCostPolicy§gen_cost_patches: Vec<GenCostPatch>Implementations§
Source§impl EmitOptions
impl EmitOptions
pub fn is_default(&self) -> bool
Trait Implementations§
Source§impl Clone for EmitOptions
impl Clone for EmitOptions
Source§impl Debug for EmitOptions
impl Debug for EmitOptions
Auto Trait Implementations§
impl Freeze for EmitOptions
impl RefUnwindSafe for EmitOptions
impl Send for EmitOptions
impl Sync for EmitOptions
impl Unpin for EmitOptions
impl UnsafeUnpin for EmitOptions
impl UnwindSafe for EmitOptions
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