pub struct NormalizeOptions {
pub clamp_angle_bounds: bool,
pub angle_bound_pad: f64,
}Expand description
Options for BalancedNetwork::to_normalized_with_options.
Fields§
§clamp_angle_bounds: boolClamp branch angle difference bounds to the interval PowerModels relaxations
accept. Disabled by default so BalancedNetwork::to_normalized stays unchanged.
angle_bound_pad: f64Replacement magnitude, in radians, for clamped angle bounds.
Trait Implementations§
Source§impl Clone for NormalizeOptions
impl Clone for NormalizeOptions
Source§fn clone(&self) -> NormalizeOptions
fn clone(&self) -> NormalizeOptions
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 NormalizeOptions
impl Debug for NormalizeOptions
Source§impl Default for NormalizeOptions
impl Default for NormalizeOptions
Source§fn default() -> NormalizeOptions
fn default() -> NormalizeOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for NormalizeOptions
impl PartialEq for NormalizeOptions
Source§fn eq(&self, other: &NormalizeOptions) -> bool
fn eq(&self, other: &NormalizeOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for NormalizeOptions
impl StructuralPartialEq for NormalizeOptions
Auto Trait Implementations§
impl Freeze for NormalizeOptions
impl RefUnwindSafe for NormalizeOptions
impl Send for NormalizeOptions
impl Sync for NormalizeOptions
impl Unpin for NormalizeOptions
impl UnsafeUnpin for NormalizeOptions
impl UnwindSafe for NormalizeOptions
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