Struct nalgebra::proptest::MatrixParameters [−][src]
#[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
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
impl<NParameters: Clone, R: Clone, C: Clone> Clone for MatrixParameters<NParameters, R, C>
[src]
impl<NParameters: Clone, R: Clone, C: Clone> Clone for MatrixParameters<NParameters, R, C>
[src]fn clone(&self) -> MatrixParameters<NParameters, R, C>
[src]
fn clone(&self) -> MatrixParameters<NParameters, R, C>
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl<NParameters, R, C> Default for MatrixParameters<NParameters, R, C> where
NParameters: Default,
R: DimName,
C: DimName,
[src]
impl<NParameters, R, C> Default for MatrixParameters<NParameters, R, C> where
NParameters: Default,
R: DimName,
C: DimName,
[src]impl<NParameters, R> Default for MatrixParameters<NParameters, R, Dynamic> where
NParameters: Default,
R: DimName,
[src]
impl<NParameters, R> Default for MatrixParameters<NParameters, R, Dynamic> where
NParameters: Default,
R: DimName,
[src]Auto Trait Implementations
impl<NParameters, R, C> RefUnwindSafe for MatrixParameters<NParameters, R, C> where
C: RefUnwindSafe,
NParameters: RefUnwindSafe,
R: RefUnwindSafe,
C: RefUnwindSafe,
NParameters: RefUnwindSafe,
R: RefUnwindSafe,
impl<NParameters, R, C> Send for MatrixParameters<NParameters, R, C> where
C: Send,
NParameters: Send,
R: Send,
C: Send,
NParameters: Send,
R: Send,
impl<NParameters, R, C> Sync for MatrixParameters<NParameters, R, C> where
C: Sync,
NParameters: Sync,
R: Sync,
C: Sync,
NParameters: Sync,
R: Sync,
impl<NParameters, R, C> Unpin for MatrixParameters<NParameters, R, C> where
C: Unpin,
NParameters: Unpin,
R: Unpin,
C: Unpin,
NParameters: Unpin,
R: Unpin,
impl<NParameters, R, C> UnwindSafe for MatrixParameters<NParameters, R, C> where
C: UnwindSafe,
NParameters: UnwindSafe,
R: UnwindSafe,
C: UnwindSafe,
NParameters: UnwindSafe,
R: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn to_subset(&self) -> Option<SS>
[src]The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
pub fn is_in_subset(&self) -> bool
[src]
pub fn is_in_subset(&self) -> bool
[src]Checks if self
is actually part of its subset T
(and can be converted to it).
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
pub fn from_subset(element: &SS) -> SP
[src]
pub fn from_subset(element: &SS) -> SP
[src]The inclusion map: converts self
to the equivalent element of its superset.
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,