#[non_exhaustive]pub enum LinDist3FlowCone {
SecondOrder {
origin: LinDist3FlowConeOrigin,
arguments: Vec<LinDist3FlowLinearExpression>,
},
RotatedSecondOrder {
origin: LinDist3FlowConeOrigin,
arguments: Vec<LinDist3FlowLinearExpression>,
},
}Expand description
A standard or rotated second-order cone over affine arguments.
Standard arguments mean (t, x...) with t >= ||x||₂. Rotated
arguments mean (u, v, x...) with u, v >= 0 and
2 u v >= ||x||₂².
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for LinDist3FlowCone
impl Clone for LinDist3FlowCone
Source§impl Debug for LinDist3FlowCone
impl Debug for LinDist3FlowCone
Source§impl PartialEq for LinDist3FlowCone
impl PartialEq for LinDist3FlowCone
impl StructuralPartialEq for LinDist3FlowCone
Auto Trait Implementations§
impl Freeze for LinDist3FlowCone
impl RefUnwindSafe for LinDist3FlowCone
impl Send for LinDist3FlowCone
impl Sync for LinDist3FlowCone
impl Unpin for LinDist3FlowCone
impl UnsafeUnpin for LinDist3FlowCone
impl UnwindSafe for LinDist3FlowCone
Blanket Implementations§
impl<T> Allocation 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