#[non_exhaustive]pub struct LinDist3FlowVoltageTerm {
pub node: usize,
pub coefficient: f64,
}Expand description
One coefficient on a squared-voltage variable.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.node: usize§coefficient: f64Trait Implementations§
Source§impl Clone for LinDist3FlowVoltageTerm
impl Clone for LinDist3FlowVoltageTerm
Source§fn clone(&self) -> LinDist3FlowVoltageTerm
fn clone(&self) -> LinDist3FlowVoltageTerm
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 moreimpl Copy for LinDist3FlowVoltageTerm
Source§impl Debug for LinDist3FlowVoltageTerm
impl Debug for LinDist3FlowVoltageTerm
Source§impl PartialEq for LinDist3FlowVoltageTerm
impl PartialEq for LinDist3FlowVoltageTerm
Source§fn eq(&self, other: &LinDist3FlowVoltageTerm) -> bool
fn eq(&self, other: &LinDist3FlowVoltageTerm) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LinDist3FlowVoltageTerm
Auto Trait Implementations§
impl Freeze for LinDist3FlowVoltageTerm
impl RefUnwindSafe for LinDist3FlowVoltageTerm
impl Send for LinDist3FlowVoltageTerm
impl Sync for LinDist3FlowVoltageTerm
impl Unpin for LinDist3FlowVoltageTerm
impl UnsafeUnpin for LinDist3FlowVoltageTerm
impl UnwindSafe for LinDist3FlowVoltageTerm
Blanket Implementations§
impl<T> Allocation for T
impl<T> Boilerplate for T
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