#[repr(C)]pub struct FMat<'a, X> { /* private fields */ }
Expand description
Immutable matrix of real valued data.
Implementations§
Source§impl<'a> FMat<'a, ()>
impl<'a> FMat<'a, ()>
Sourcepub unsafe fn from_raw_ptr(ptr: *const fmat_t) -> Self
pub unsafe fn from_raw_ptr(ptr: *const fmat_t) -> Self
Create a matrix from an already existing fmat_t
pointer.
The matrix is non-owned; useful to avoid double-frees for FilterBank
,
for instance.
§Safety
- The
ptr
must not benull
. - The
ptr
should points to already initialized matrix data.
Trait Implementations§
Auto Trait Implementations§
impl<'a, X> Freeze for FMat<'a, X>where
X: Freeze,
impl<'a, X> RefUnwindSafe for FMat<'a, X>where
X: RefUnwindSafe,
impl<'a, X> !Send for FMat<'a, X>
impl<'a, X> !Sync for FMat<'a, X>
impl<'a, X> Unpin for FMat<'a, X>where
X: Unpin,
impl<'a, X> UnwindSafe for FMat<'a, X>where
X: UnwindSafe,
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