pub struct QuadraticParameters { /* private fields */ }Implementations§
Source§impl QuadraticParameters
impl QuadraticParameters
pub fn new(num_terms: usize, max_id: VariableID) -> Result<Self>
Trait Implementations§
Source§impl Arbitrary for QuadraticParameters
impl Arbitrary for QuadraticParameters
Source§type Parameters = ()
type Parameters = ()
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = BoxedStrategy<QuadraticParameters>
type Strategy = BoxedStrategy<QuadraticParameters>
The type of
Strategy used to generate values of type Self.Source§fn arbitrary_with(_: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_: Self::Parameters) -> Self::Strategy
Source§impl Clone for QuadraticParameters
impl Clone for QuadraticParameters
Source§fn clone(&self) -> QuadraticParameters
fn clone(&self) -> QuadraticParameters
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 QuadraticParameters
Source§impl Debug for QuadraticParameters
impl Debug for QuadraticParameters
Source§impl Default for QuadraticParameters
impl Default for QuadraticParameters
impl Eq for QuadraticParameters
Source§impl From<QuadraticParameters> for PolynomialParameters
impl From<QuadraticParameters> for PolynomialParameters
Source§fn from(p: QuadraticParameters) -> Self
fn from(p: QuadraticParameters) -> Self
Converts to this type from the input type.
Source§impl Hash for QuadraticParameters
impl Hash for QuadraticParameters
Source§impl PartialEq for QuadraticParameters
impl PartialEq for QuadraticParameters
impl StructuralPartialEq for QuadraticParameters
Auto Trait Implementations§
impl Freeze for QuadraticParameters
impl RefUnwindSafe for QuadraticParameters
impl Send for QuadraticParameters
impl Sync for QuadraticParameters
impl Unpin for QuadraticParameters
impl UnsafeUnpin for QuadraticParameters
impl UnwindSafe for QuadraticParameters
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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