[−][src]Struct cv::nalgebra::base::DefaultAllocator
An allocator based on GenericArray
and VecStorage
for statically-sized and dynamically-sized
matrices respectively.
Trait Implementations
impl<N, R, C> Allocator<N, R, C> for DefaultAllocator where
C: DimName,
N: Scalar,
R: DimName,
<R as DimName>::Value: Mul<<C as DimName>::Value>,
<<R as DimName>::Value as Mul<<C as DimName>::Value>>::Output: ArrayLength<N>,
[src]
C: DimName,
N: Scalar,
R: DimName,
<R as DimName>::Value: Mul<<C as DimName>::Value>,
<<R as DimName>::Value as Mul<<C as DimName>::Value>>::Output: ArrayLength<N>,
type Buffer = ArrayStorage<N, R, C>
The type of buffer this allocator can instanciate.
unsafe fn allocate_uninitialized(
R,
C
) -> <DefaultAllocator as Allocator<N, R, C>>::Buffer
[src]
R,
C
) -> <DefaultAllocator as Allocator<N, R, C>>::Buffer
fn allocate_from_iterator<I>(
nrows: R,
ncols: C,
iter: I
) -> <DefaultAllocator as Allocator<N, R, C>>::Buffer where
I: IntoIterator<Item = N>,
[src]
nrows: R,
ncols: C,
iter: I
) -> <DefaultAllocator as Allocator<N, R, C>>::Buffer where
I: IntoIterator<Item = N>,
impl<N, RFrom, CFrom, RTo, CTo> Reallocator<N, RFrom, CFrom, RTo, CTo> for DefaultAllocator where
CFrom: Dim,
CTo: DimName,
N: Scalar,
RFrom: Dim,
RTo: DimName,
DefaultAllocator: Allocator<N, RFrom, CFrom>,
<RTo as DimName>::Value: Mul<<CTo as DimName>::Value>,
<<RTo as DimName>::Value as Mul<<CTo as DimName>::Value>>::Output: ArrayLength<N>,
[src]
CFrom: Dim,
CTo: DimName,
N: Scalar,
RFrom: Dim,
RTo: DimName,
DefaultAllocator: Allocator<N, RFrom, CFrom>,
<RTo as DimName>::Value: Mul<<CTo as DimName>::Value>,
<<RTo as DimName>::Value as Mul<<CTo as DimName>::Value>>::Output: ArrayLength<N>,
unsafe fn reallocate_copy(
rto: RTo,
cto: CTo,
buf: <DefaultAllocator as Allocator<N, RFrom, CFrom>>::Buffer
) -> ArrayStorage<N, RTo, CTo>
[src]
rto: RTo,
cto: CTo,
buf: <DefaultAllocator as Allocator<N, RFrom, CFrom>>::Buffer
) -> ArrayStorage<N, RTo, CTo>
impl<N, R1, R2, C1, C2> SameShapeAllocator<N, R1, C1, R2, C2> for DefaultAllocator where
C1: Dim,
C2: Dim,
N: Scalar,
R1: Dim,
R2: Dim,
DefaultAllocator: Allocator<N, R1, C1>,
DefaultAllocator: Allocator<N, <ShapeConstraint as SameNumberOfRows<R1, R2>>::Representative, <ShapeConstraint as SameNumberOfColumns<C1, C2>>::Representative>,
ShapeConstraint: SameNumberOfRows<R1, R2>,
ShapeConstraint: SameNumberOfColumns<C1, C2>,
[src]
C1: Dim,
C2: Dim,
N: Scalar,
R1: Dim,
R2: Dim,
DefaultAllocator: Allocator<N, R1, C1>,
DefaultAllocator: Allocator<N, <ShapeConstraint as SameNumberOfRows<R1, R2>>::Representative, <ShapeConstraint as SameNumberOfColumns<C1, C2>>::Representative>,
ShapeConstraint: SameNumberOfRows<R1, R2>,
ShapeConstraint: SameNumberOfColumns<C1, C2>,
impl<N, R1, R2> SameShapeVectorAllocator<N, R1, R2> for DefaultAllocator where
N: Scalar,
R1: Dim,
R2: Dim,
DefaultAllocator: Allocator<N, R1, U1>,
DefaultAllocator: Allocator<N, <ShapeConstraint as SameNumberOfRows<R1, R2>>::Representative, U1>,
ShapeConstraint: SameNumberOfRows<R1, R2>,
[src]
N: Scalar,
R1: Dim,
R2: Dim,
DefaultAllocator: Allocator<N, R1, U1>,
DefaultAllocator: Allocator<N, <ShapeConstraint as SameNumberOfRows<R1, R2>>::Representative, U1>,
ShapeConstraint: SameNumberOfRows<R1, R2>,
Auto Trait Implementations
impl RefUnwindSafe for DefaultAllocator
impl Send for DefaultAllocator
impl Sync for DefaultAllocator
impl Unpin for DefaultAllocator
impl UnwindSafe for DefaultAllocator
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn is_in_subset(&self) -> bool
fn to_subset_unchecked(&self) -> SS
fn from_subset(element: &SS) -> SP
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,