[−][src]Struct rin::math::core::MatrixVec
A Vec-based matrix data storage. It may be dynamically-sized.
Methods
impl<N, R, C> MatrixVec<N, R, C> where
C: Dim,
R: Dim,
[src]
impl<N, R, C> MatrixVec<N, R, C> where
C: Dim,
R: Dim,
pub fn new(nrows: R, ncols: C, data: Vec<N>) -> MatrixVec<N, R, C>
[src]
pub fn new(nrows: R, ncols: C, data: Vec<N>) -> MatrixVec<N, R, C>
Creates a new dynamic matrix data storage from the given vector and shape.
pub fn data(&self) -> &Vec<N>
[src]
pub fn data(&self) -> &Vec<N>
The underlying data storage.
pub unsafe fn data_mut(&mut self) -> &mut Vec<N>
[src]
pub unsafe fn data_mut(&mut self) -> &mut Vec<N>
The underlying mutable data storage.
This is unsafe because this may cause UB if the vector is modified by the user.
pub unsafe fn resize(self, sz: usize) -> Vec<N>
[src]
pub unsafe fn resize(self, sz: usize) -> Vec<N>
Resizes the underlying mutable data storage and unwraps it.
If sz
is larger than the current size, additional elements are uninitialized.
If sz
is smaller than the current size, additional elements are truncated.
Methods from Deref<Target = Vec<N>>
pub fn capacity(&self) -> usize
1.0.0[src]
pub fn capacity(&self) -> usize
Returns the number of elements the vector can hold without reallocating.
Examples
let vec: Vec<i32> = Vec::with_capacity(10); assert_eq!(vec.capacity(), 10);
pub fn as_slice(&self) -> &[T]
1.7.0[src]
pub fn as_slice(&self) -> &[T]
Extracts a slice containing the entire vector.
Equivalent to &s[..]
.
Examples
use std::io::{self, Write}; let buffer = vec![1, 2, 3, 5, 8]; io::sink().write(buffer.as_slice()).unwrap();
pub fn len(&self) -> usize
1.0.0[src]
pub fn len(&self) -> usize
Returns the number of elements in the vector, also referred to as its 'length'.
Examples
let a = vec![1, 2, 3]; assert_eq!(a.len(), 3);
pub fn is_empty(&self) -> bool
1.0.0[src]
pub fn is_empty(&self) -> bool
Returns true
if the vector contains no elements.
Examples
let mut v = Vec::new(); assert!(v.is_empty()); v.push(1); assert!(!v.is_empty());
Trait Implementations
impl<N, R, C> PartialEq<MatrixVec<N, R, C>> for MatrixVec<N, R, C> where
C: Dim + PartialEq<C>,
N: PartialEq<N>,
R: Dim + PartialEq<R>,
[src]
impl<N, R, C> PartialEq<MatrixVec<N, R, C>> for MatrixVec<N, R, C> where
C: Dim + PartialEq<C>,
N: PartialEq<N>,
R: Dim + PartialEq<R>,
fn eq(&self, other: &MatrixVec<N, R, C>) -> bool
[src]
fn eq(&self, other: &MatrixVec<N, R, C>) -> bool
fn ne(&self, other: &MatrixVec<N, R, C>) -> bool
[src]
fn ne(&self, other: &MatrixVec<N, R, C>) -> bool
impl<N, R, C> Eq for MatrixVec<N, R, C> where
C: Dim + Eq,
N: Eq,
R: Dim + Eq,
[src]
impl<N, R, C> Eq for MatrixVec<N, R, C> where
C: Dim + Eq,
N: Eq,
R: Dim + Eq,
impl<N, C> ContiguousStorage<N, Dynamic, C> for MatrixVec<N, Dynamic, C> where
C: Dim,
N: Scalar,
DefaultAllocator: Allocator<N, Dynamic, C>,
<DefaultAllocator as Allocator<N, Dynamic, C>>::Buffer == MatrixVec<N, Dynamic, C>,
[src]
impl<N, C> ContiguousStorage<N, Dynamic, C> for MatrixVec<N, Dynamic, C> where
C: Dim,
N: Scalar,
DefaultAllocator: Allocator<N, Dynamic, C>,
<DefaultAllocator as Allocator<N, Dynamic, C>>::Buffer == MatrixVec<N, Dynamic, C>,
impl<N, R> ContiguousStorage<N, R, Dynamic> for MatrixVec<N, R, Dynamic> where
N: Scalar,
R: DimName,
DefaultAllocator: Allocator<N, R, Dynamic>,
<DefaultAllocator as Allocator<N, R, Dynamic>>::Buffer == MatrixVec<N, R, Dynamic>,
[src]
impl<N, R> ContiguousStorage<N, R, Dynamic> for MatrixVec<N, R, Dynamic> where
N: Scalar,
R: DimName,
DefaultAllocator: Allocator<N, R, Dynamic>,
<DefaultAllocator as Allocator<N, R, Dynamic>>::Buffer == MatrixVec<N, R, Dynamic>,
impl<N, R> StorageMut<N, R, Dynamic> for MatrixVec<N, R, Dynamic> where
N: Scalar,
R: DimName,
DefaultAllocator: Allocator<N, R, Dynamic>,
<DefaultAllocator as Allocator<N, R, Dynamic>>::Buffer == MatrixVec<N, R, Dynamic>,
[src]
impl<N, R> StorageMut<N, R, Dynamic> for MatrixVec<N, R, Dynamic> where
N: Scalar,
R: DimName,
DefaultAllocator: Allocator<N, R, Dynamic>,
<DefaultAllocator as Allocator<N, R, Dynamic>>::Buffer == MatrixVec<N, R, Dynamic>,
fn ptr_mut(&mut self) -> *mut N
[src]
fn ptr_mut(&mut self) -> *mut N
fn as_mut_slice(&mut self) -> &mut [N]
[src]
fn as_mut_slice(&mut self) -> &mut [N]
unsafe fn get_address_unchecked_linear_mut(&mut self, i: usize) -> *mut N
[src]
unsafe fn get_address_unchecked_linear_mut(&mut self, i: usize) -> *mut N
Gets the mutable address of the i-th matrix component without performing bound-checking.
unsafe fn get_address_unchecked_mut(
&mut self,
irow: usize,
icol: usize
) -> *mut N
[src]
unsafe fn get_address_unchecked_mut(
&mut self,
irow: usize,
icol: usize
) -> *mut N
Gets the mutable address of the i-th matrix component without performing bound-checking.
unsafe fn get_unchecked_linear_mut(&mut self, i: usize) -> &mut N
[src]
unsafe fn get_unchecked_linear_mut(&mut self, i: usize) -> &mut N
Retrieves a mutable reference to the i-th element without bound-checking.
unsafe fn get_unchecked_mut(&mut self, irow: usize, icol: usize) -> &mut N
[src]
unsafe fn get_unchecked_mut(&mut self, irow: usize, icol: usize) -> &mut N
Retrieves a mutable reference to the element at (irow, icol)
without bound-checking.
unsafe fn swap_unchecked_linear(&mut self, i1: usize, i2: usize)
[src]
unsafe fn swap_unchecked_linear(&mut self, i1: usize, i2: usize)
Swaps two elements using their linear index without bound-checking.
unsafe fn swap_unchecked(
&mut self,
row_col1: (usize, usize),
row_col2: (usize, usize)
)
[src]
unsafe fn swap_unchecked(
&mut self,
row_col1: (usize, usize),
row_col2: (usize, usize)
)
Swaps two elements without bound-checking.
impl<N, C> StorageMut<N, Dynamic, C> for MatrixVec<N, Dynamic, C> where
C: Dim,
N: Scalar,
DefaultAllocator: Allocator<N, Dynamic, C>,
<DefaultAllocator as Allocator<N, Dynamic, C>>::Buffer == MatrixVec<N, Dynamic, C>,
[src]
impl<N, C> StorageMut<N, Dynamic, C> for MatrixVec<N, Dynamic, C> where
C: Dim,
N: Scalar,
DefaultAllocator: Allocator<N, Dynamic, C>,
<DefaultAllocator as Allocator<N, Dynamic, C>>::Buffer == MatrixVec<N, Dynamic, C>,
fn ptr_mut(&mut self) -> *mut N
[src]
fn ptr_mut(&mut self) -> *mut N
fn as_mut_slice(&mut self) -> &mut [N]
[src]
fn as_mut_slice(&mut self) -> &mut [N]
unsafe fn get_address_unchecked_linear_mut(&mut self, i: usize) -> *mut N
[src]
unsafe fn get_address_unchecked_linear_mut(&mut self, i: usize) -> *mut N
Gets the mutable address of the i-th matrix component without performing bound-checking.
unsafe fn get_address_unchecked_mut(
&mut self,
irow: usize,
icol: usize
) -> *mut N
[src]
unsafe fn get_address_unchecked_mut(
&mut self,
irow: usize,
icol: usize
) -> *mut N
Gets the mutable address of the i-th matrix component without performing bound-checking.
unsafe fn get_unchecked_linear_mut(&mut self, i: usize) -> &mut N
[src]
unsafe fn get_unchecked_linear_mut(&mut self, i: usize) -> &mut N
Retrieves a mutable reference to the i-th element without bound-checking.
unsafe fn get_unchecked_mut(&mut self, irow: usize, icol: usize) -> &mut N
[src]
unsafe fn get_unchecked_mut(&mut self, irow: usize, icol: usize) -> &mut N
Retrieves a mutable reference to the element at (irow, icol)
without bound-checking.
unsafe fn swap_unchecked_linear(&mut self, i1: usize, i2: usize)
[src]
unsafe fn swap_unchecked_linear(&mut self, i1: usize, i2: usize)
Swaps two elements using their linear index without bound-checking.
unsafe fn swap_unchecked(
&mut self,
row_col1: (usize, usize),
row_col2: (usize, usize)
)
[src]
unsafe fn swap_unchecked(
&mut self,
row_col1: (usize, usize),
row_col2: (usize, usize)
)
Swaps two elements without bound-checking.
impl<N, C> Storage<N, Dynamic, C> for MatrixVec<N, Dynamic, C> where
C: Dim,
N: Scalar,
DefaultAllocator: Allocator<N, Dynamic, C>,
<DefaultAllocator as Allocator<N, Dynamic, C>>::Buffer == MatrixVec<N, Dynamic, C>,
[src]
impl<N, C> Storage<N, Dynamic, C> for MatrixVec<N, Dynamic, C> where
C: Dim,
N: Scalar,
DefaultAllocator: Allocator<N, Dynamic, C>,
<DefaultAllocator as Allocator<N, Dynamic, C>>::Buffer == MatrixVec<N, Dynamic, C>,
type RStride = U1
The static stride of this storage's rows.
type CStride = Dynamic
The static stride of this storage's columns.
fn ptr(&self) -> *const N
[src]
fn ptr(&self) -> *const N
fn shape(&self) -> (Dynamic, C)
[src]
fn shape(&self) -> (Dynamic, C)
fn strides(
&self
) -> (<MatrixVec<N, Dynamic, C> as Storage<N, Dynamic, C>>::RStride, <MatrixVec<N, Dynamic, C> as Storage<N, Dynamic, C>>::CStride)
[src]
fn strides(
&self
) -> (<MatrixVec<N, Dynamic, C> as Storage<N, Dynamic, C>>::RStride, <MatrixVec<N, Dynamic, C> as Storage<N, Dynamic, C>>::CStride)
fn is_contiguous(&self) -> bool
[src]
fn is_contiguous(&self) -> bool
fn into_owned(self) -> <DefaultAllocator as Allocator<N, Dynamic, C>>::Buffer where
DefaultAllocator: Allocator<N, Dynamic, C>,
[src]
fn into_owned(self) -> <DefaultAllocator as Allocator<N, Dynamic, C>>::Buffer where
DefaultAllocator: Allocator<N, Dynamic, C>,
fn clone_owned(&self) -> <DefaultAllocator as Allocator<N, Dynamic, C>>::Buffer where
DefaultAllocator: Allocator<N, Dynamic, C>,
[src]
fn clone_owned(&self) -> <DefaultAllocator as Allocator<N, Dynamic, C>>::Buffer where
DefaultAllocator: Allocator<N, Dynamic, C>,
fn as_slice(&self) -> &[N]
[src]
fn as_slice(&self) -> &[N]
fn linear_index(&self, irow: usize, icol: usize) -> usize
[src]
fn linear_index(&self, irow: usize, icol: usize) -> usize
Compute the index corresponding to the irow-th row and icol-th column of this matrix. The index must be such that the following holds: Read more
unsafe fn get_address_unchecked_linear(&self, i: usize) -> *const N
[src]
unsafe fn get_address_unchecked_linear(&self, i: usize) -> *const N
Gets the address of the i-th matrix component without performing bound-checking.
unsafe fn get_address_unchecked(&self, irow: usize, icol: usize) -> *const N
[src]
unsafe fn get_address_unchecked(&self, irow: usize, icol: usize) -> *const N
Gets the address of the i-th matrix component without performing bound-checking.
unsafe fn get_unchecked_linear(&self, i: usize) -> &N
[src]
unsafe fn get_unchecked_linear(&self, i: usize) -> &N
Retrieves a reference to the i-th element without bound-checking.
unsafe fn get_unchecked(&self, irow: usize, icol: usize) -> &N
[src]
unsafe fn get_unchecked(&self, irow: usize, icol: usize) -> &N
Retrieves a reference to the i-th element without bound-checking.
impl<N, R> Storage<N, R, Dynamic> for MatrixVec<N, R, Dynamic> where
N: Scalar,
R: DimName,
DefaultAllocator: Allocator<N, R, Dynamic>,
<DefaultAllocator as Allocator<N, R, Dynamic>>::Buffer == MatrixVec<N, R, Dynamic>,
[src]
impl<N, R> Storage<N, R, Dynamic> for MatrixVec<N, R, Dynamic> where
N: Scalar,
R: DimName,
DefaultAllocator: Allocator<N, R, Dynamic>,
<DefaultAllocator as Allocator<N, R, Dynamic>>::Buffer == MatrixVec<N, R, Dynamic>,
type RStride = U1
The static stride of this storage's rows.
type CStride = R
The static stride of this storage's columns.
fn ptr(&self) -> *const N
[src]
fn ptr(&self) -> *const N
fn shape(&self) -> (R, Dynamic)
[src]
fn shape(&self) -> (R, Dynamic)
fn strides(
&self
) -> (<MatrixVec<N, R, Dynamic> as Storage<N, R, Dynamic>>::RStride, <MatrixVec<N, R, Dynamic> as Storage<N, R, Dynamic>>::CStride)
[src]
fn strides(
&self
) -> (<MatrixVec<N, R, Dynamic> as Storage<N, R, Dynamic>>::RStride, <MatrixVec<N, R, Dynamic> as Storage<N, R, Dynamic>>::CStride)
fn is_contiguous(&self) -> bool
[src]
fn is_contiguous(&self) -> bool
fn into_owned(self) -> <DefaultAllocator as Allocator<N, R, Dynamic>>::Buffer where
DefaultAllocator: Allocator<N, R, Dynamic>,
[src]
fn into_owned(self) -> <DefaultAllocator as Allocator<N, R, Dynamic>>::Buffer where
DefaultAllocator: Allocator<N, R, Dynamic>,
fn clone_owned(&self) -> <DefaultAllocator as Allocator<N, R, Dynamic>>::Buffer where
DefaultAllocator: Allocator<N, R, Dynamic>,
[src]
fn clone_owned(&self) -> <DefaultAllocator as Allocator<N, R, Dynamic>>::Buffer where
DefaultAllocator: Allocator<N, R, Dynamic>,
fn as_slice(&self) -> &[N]
[src]
fn as_slice(&self) -> &[N]
fn linear_index(&self, irow: usize, icol: usize) -> usize
[src]
fn linear_index(&self, irow: usize, icol: usize) -> usize
Compute the index corresponding to the irow-th row and icol-th column of this matrix. The index must be such that the following holds: Read more
unsafe fn get_address_unchecked_linear(&self, i: usize) -> *const N
[src]
unsafe fn get_address_unchecked_linear(&self, i: usize) -> *const N
Gets the address of the i-th matrix component without performing bound-checking.
unsafe fn get_address_unchecked(&self, irow: usize, icol: usize) -> *const N
[src]
unsafe fn get_address_unchecked(&self, irow: usize, icol: usize) -> *const N
Gets the address of the i-th matrix component without performing bound-checking.
unsafe fn get_unchecked_linear(&self, i: usize) -> &N
[src]
unsafe fn get_unchecked_linear(&self, i: usize) -> &N
Retrieves a reference to the i-th element without bound-checking.
unsafe fn get_unchecked(&self, irow: usize, icol: usize) -> &N
[src]
unsafe fn get_unchecked(&self, irow: usize, icol: usize) -> &N
Retrieves a reference to the i-th element without bound-checking.
impl<N, R, C> Deref for MatrixVec<N, R, C> where
C: Dim,
R: Dim,
[src]
impl<N, R, C> Deref for MatrixVec<N, R, C> where
C: Dim,
R: Dim,
type Target = Vec<N>
The resulting type after dereferencing.
fn deref(&self) -> &<MatrixVec<N, R, C> as Deref>::Target
[src]
fn deref(&self) -> &<MatrixVec<N, R, C> as Deref>::Target
impl<N, R, C> Clone for MatrixVec<N, R, C> where
C: Dim + Clone,
N: Clone,
R: Dim + Clone,
[src]
impl<N, R, C> Clone for MatrixVec<N, R, C> where
C: Dim + Clone,
N: Clone,
R: Dim + Clone,
fn clone(&self) -> MatrixVec<N, R, C>
[src]
fn clone(&self) -> MatrixVec<N, R, C>
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl<N, R> Extend<N> for MatrixVec<N, R, Dynamic> where
R: Dim,
[src]
impl<N, R> Extend<N> for MatrixVec<N, R, Dynamic> where
R: Dim,
fn extend<I>(&mut self, iter: I) where
I: IntoIterator<Item = N>,
[src]
fn extend<I>(&mut self, iter: I) where
I: IntoIterator<Item = N>,
Extends the number of columns of the MatrixVec
with elements
from the given iterator.
Panics
This function panics if the number of elements yielded by the
given iterator is not a multiple of the number of rows of the
MatrixVec
.
impl<N, R, RV, SV> Extend<Matrix<N, RV, U1, SV>> for MatrixVec<N, R, Dynamic> where
N: Scalar,
R: Dim,
RV: Dim,
SV: Storage<N, RV, U1>,
ShapeConstraint: SameNumberOfRows<R, RV>,
[src]
impl<N, R, RV, SV> Extend<Matrix<N, RV, U1, SV>> for MatrixVec<N, R, Dynamic> where
N: Scalar,
R: Dim,
RV: Dim,
SV: Storage<N, RV, U1>,
ShapeConstraint: SameNumberOfRows<R, RV>,
fn extend<I>(&mut self, iter: I) where
I: IntoIterator<Item = Matrix<N, RV, U1, SV>>,
[src]
fn extend<I>(&mut self, iter: I) where
I: IntoIterator<Item = Matrix<N, RV, U1, SV>>,
Extends the number of columns of the MatrixVec
with vectors
from the given iterator.
Panics
This function panics if the number of rows of each Vector
yielded by the iterator is not equal to the number of rows
of this MatrixVec
.
impl<N> Extend<N> for MatrixVec<N, Dynamic, U1>
[src]
impl<N> Extend<N> for MatrixVec<N, Dynamic, U1>
fn extend<I>(&mut self, iter: I) where
I: IntoIterator<Item = N>,
[src]
fn extend<I>(&mut self, iter: I) where
I: IntoIterator<Item = N>,
Extends the number of rows of the MatrixVec
with elements
from the given iterator.
impl<N, R, C> Into<Vec<N>> for MatrixVec<N, R, C> where
C: Dim,
R: Dim,
[src]
impl<N, R, C> Into<Vec<N>> for MatrixVec<N, R, C> where
C: Dim,
R: Dim,
impl<N, R> ContiguousStorageMut<N, R, Dynamic> for MatrixVec<N, R, Dynamic> where
N: Scalar,
R: DimName,
DefaultAllocator: Allocator<N, R, Dynamic>,
<DefaultAllocator as Allocator<N, R, Dynamic>>::Buffer == MatrixVec<N, R, Dynamic>,
[src]
impl<N, R> ContiguousStorageMut<N, R, Dynamic> for MatrixVec<N, R, Dynamic> where
N: Scalar,
R: DimName,
DefaultAllocator: Allocator<N, R, Dynamic>,
<DefaultAllocator as Allocator<N, R, Dynamic>>::Buffer == MatrixVec<N, R, Dynamic>,
impl<N, C> ContiguousStorageMut<N, Dynamic, C> for MatrixVec<N, Dynamic, C> where
C: Dim,
N: Scalar,
DefaultAllocator: Allocator<N, Dynamic, C>,
<DefaultAllocator as Allocator<N, Dynamic, C>>::Buffer == MatrixVec<N, Dynamic, C>,
[src]
impl<N, C> ContiguousStorageMut<N, Dynamic, C> for MatrixVec<N, Dynamic, C> where
C: Dim,
N: Scalar,
DefaultAllocator: Allocator<N, Dynamic, C>,
<DefaultAllocator as Allocator<N, Dynamic, C>>::Buffer == MatrixVec<N, Dynamic, C>,
impl<N, R, C> Debug for MatrixVec<N, R, C> where
C: Dim + Debug,
N: Debug,
R: Dim + Debug,
[src]
impl<N, R, C> Debug for MatrixVec<N, R, C> where
C: Dim + Debug,
N: Debug,
R: Dim + Debug,
impl<N, R, C> Serialize for MatrixVec<N, R, C> where
C: Dim + Serialize,
N: Serialize,
R: Dim + Serialize,
[src]
impl<N, R, C> Serialize for MatrixVec<N, R, C> where
C: Dim + Serialize,
N: Serialize,
R: Dim + Serialize,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl<'de, N, R, C> Deserialize<'de> for MatrixVec<N, R, C> where
C: Dim + Deserialize<'de>,
N: Deserialize<'de>,
R: Dim + Deserialize<'de>,
[src]
impl<'de, N, R, C> Deserialize<'de> for MatrixVec<N, R, C> where
C: Dim + Deserialize<'de>,
N: Deserialize<'de>,
R: Dim + Deserialize<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<MatrixVec<N, R, C>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(
__deserializer: __D
) -> Result<MatrixVec<N, R, C>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Auto Trait Implementations
impl<N, R, C> Send for MatrixVec<N, R, C> where
N: Send,
impl<N, R, C> Send for MatrixVec<N, R, C> where
N: Send,
impl<N, R, C> Sync for MatrixVec<N, R, C> where
N: Sync,
impl<N, R, C> Sync for MatrixVec<N, R, C> where
N: Sync,
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
impl<T> Any for T where
T: Any,
[src]
impl<T> Any for T where
T: Any,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
impl<T> SetParameter for T
[src]
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
[src]
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
Sets value
as a parameter of self
.
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
impl<V> IntoVec for V
[src]
impl<V> IntoVec for V
impl<V> IntoPnt for V
[src]
impl<V> IntoPnt for V
impl<SS, SP> SupersetOf for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf for SP where
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
[src]
fn to_subset(&self) -> Option<SS>
fn is_in_subset(&self) -> bool
[src]
fn is_in_subset(&self) -> bool
unsafe fn to_subset_unchecked(&self) -> SS
[src]
unsafe fn to_subset_unchecked(&self) -> SS
fn from_subset(element: &SS) -> SP
[src]
fn from_subset(element: &SS) -> SP
impl<T> Same for T
[src]
impl<T> Same for T
type Output = T
Should always be Self