#[repr(C)]pub struct DWTContext {
pub linelen: [[c_int; 2]; 32],
pub mod_: [[u8; 2]; 32],
pub ndeclevels: u8,
pub type_: u8,
pub i_linebuf: *mut i32,
pub f_linebuf: *mut f32,
}
Fields§
§linelen: [[c_int; 2]; 32]
line lengths { horizontal, vertical } in consecutive decomposition levels
mod_: [[u8; 2]; 32]
< coordinates (x0, y0) of decomp. levels mod 2
ndeclevels: u8
< number of decomposition levels
type_: u8
< 0 for 9/7; 1 for 5/3
i_linebuf: *mut i32
< int buffer used by transform
f_linebuf: *mut f32
< float buffer used by transform
Trait Implementations§
Source§impl Clone for DWTContext
impl Clone for DWTContext
Source§fn clone(&self) -> DWTContext
fn clone(&self) -> DWTContext
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DWTContext
impl Debug for DWTContext
impl Copy for DWTContext
Auto Trait Implementations§
impl Freeze for DWTContext
impl RefUnwindSafe for DWTContext
impl !Send for DWTContext
impl !Sync for DWTContext
impl Unpin for DWTContext
impl UnwindSafe for DWTContext
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