Struct nalgebra::proptest::MatrixParameters
source · [−]#[non_exhaustive]pub struct MatrixParameters<NParameters, R, C> {
pub rows: DimRange<R>,
pub cols: DimRange<C>,
pub value_parameters: NParameters,
}
Expand description
Parameters for arbitrary matrix generation.
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.rows: DimRange<R>
The range of rows that may be generated.
cols: DimRange<C>
The range of columns that may be generated.
value_parameters: NParameters
Parameters for the Arbitrary
implementation of the scalar values.
Trait Implementations
sourceimpl<NParameters: Clone, R: Clone, C: Clone> Clone for MatrixParameters<NParameters, R, C>
impl<NParameters: Clone, R: Clone, C: Clone> Clone for MatrixParameters<NParameters, R, C>
sourcefn clone(&self) -> MatrixParameters<NParameters, R, C>
fn clone(&self) -> MatrixParameters<NParameters, R, C>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<NParameters, C> Default for MatrixParameters<NParameters, Dynamic, C>where
NParameters: Default,
C: DimName,
impl<NParameters, C> Default for MatrixParameters<NParameters, Dynamic, C>where
NParameters: Default,
C: DimName,
sourceimpl<NParameters> Default for MatrixParameters<NParameters, Dynamic, Dynamic>where
NParameters: Default,
impl<NParameters> Default for MatrixParameters<NParameters, Dynamic, Dynamic>where
NParameters: Default,
Auto Trait Implementations
impl<NParameters, R, C> RefUnwindSafe for MatrixParameters<NParameters, R, C>where
C: RefUnwindSafe,
NParameters: RefUnwindSafe,
R: RefUnwindSafe,
impl<NParameters, R, C> Send for MatrixParameters<NParameters, R, C>where
C: Send,
NParameters: Send,
R: Send,
impl<NParameters, R, C> Sync for MatrixParameters<NParameters, R, C>where
C: Sync,
NParameters: Sync,
R: Sync,
impl<NParameters, R, C> Unpin for MatrixParameters<NParameters, R, C>where
C: Unpin,
NParameters: Unpin,
R: Unpin,
impl<NParameters, R, C> UnwindSafe for MatrixParameters<NParameters, R, C>where
C: UnwindSafe,
NParameters: UnwindSafe,
R: UnwindSafe,
Blanket Implementations
sourceimpl<T> ArchivePointee for T
impl<T> ArchivePointee for T
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
sourcefn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
sourceimpl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
sourcefn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moresourcefn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).sourcefn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.sourcefn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.sourceimpl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
sourcefn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moresourcefn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).sourceunsafe fn to_subset_unchecked(&self) -> SS
unsafe fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.sourcefn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.