pub struct LinearConstraints<T, U> {
pub equations: Vec<LinearEquation<T, U>>,
}Fields§
§equations: Vec<LinearEquation<T, U>>Trait Implementations§
Source§impl<T, U> AsRef<[LinearEquation<T, U>]> for LinearConstraints<T, U>
impl<T, U> AsRef<[LinearEquation<T, U>]> for LinearConstraints<T, U>
Source§fn as_ref(&self) -> &[LinearEquation<T, U>]
fn as_ref(&self) -> &[LinearEquation<T, U>]
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl<T: Clone, U: Clone> Clone for LinearConstraints<T, U>
impl<T: Clone, U: Clone> Clone for LinearConstraints<T, U>
Source§fn clone(&self) -> LinearConstraints<T, U>
fn clone(&self) -> LinearConstraints<T, U>
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<T, U> Default for LinearConstraints<T, U>
impl<T, U> Default for LinearConstraints<T, U>
impl<T: Eq, U: Eq> Eq for LinearConstraints<T, U>
impl<T: PartialEq, U: PartialEq> StructuralPartialEq for LinearConstraints<T, U>
Auto Trait Implementations§
impl<T, U> Freeze for LinearConstraints<T, U>
impl<T, U> RefUnwindSafe for LinearConstraints<T, U>
impl<T, U> Send for LinearConstraints<T, U>
impl<T, U> Sync for LinearConstraints<T, U>
impl<T, U> Unpin for LinearConstraints<T, U>
impl<T, U> UnsafeUnpin for LinearConstraints<T, U>
impl<T, U> UnwindSafe for LinearConstraints<T, U>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more