#[repr(C)]pub struct mask {
pub m: *mut c_char,
pub f: *mut f32,
pub idx: *mut c_int,
pub size_px: [c_int; 2],
pub nel: c_int,
pub nnz: f32,
pub size_m: [f32; 2],
pub area: f32,
pub delta: [f32; 2],
pub handle: cublasHandle_t,
pub d__piston_mask: *mut c_int,
}Fields§
§m: *mut c_char§f: *mut f32§idx: *mut c_int§size_px: [c_int; 2]§nel: c_int§nnz: f32§size_m: [f32; 2]§area: f32§delta: [f32; 2]§handle: cublasHandle_t§d__piston_mask: *mut c_intImplementations§
Source§impl mask
impl mask
pub unsafe fn setup(&mut self, n: c_int)
pub unsafe fn setup1(&mut self, n: c_int, L: f32)
pub unsafe fn setup2( &mut self, n: c_int, L: f32, i_s: c_int, j_s: c_int, n_out: c_int, )
pub unsafe fn setup3( &mut self, n: f32, L: f32, i_0: f32, j_0: f32, theta: f32, i_s: f32, j_s: f32, n_out: c_int, )
pub unsafe fn setup_circular(&mut self, n: c_int)
pub unsafe fn setup_circular1(&mut self, n: c_int, D: f32)
pub unsafe fn setup_circular2(&mut self, n: c_int, D: f32, scale: f32)
pub unsafe fn setup_GMT(&mut self, n: c_int, S: f32)
pub unsafe fn set_filter(&mut self)
pub unsafe fn set_filter_quiet(&mut self)
pub unsafe fn set_index(&mut self)
pub unsafe fn set_gmt_piston(&mut self, phase: *mut f32, d__p: *mut f32)
pub unsafe fn alter(&mut self, filter: *mut f32)
pub unsafe fn add(&mut self, other: *mut mask)
pub unsafe fn add1(&mut self, other: *mut c_char, other_nel: c_int)
pub unsafe fn add2(&mut self, other: *mut mask, offset: c_int)
pub unsafe fn add3( &mut self, other: *mut c_char, other_nel: c_int, offset: c_int, )
pub unsafe fn reset(&mut self)
pub unsafe fn cleanup(&mut self)
Trait Implementations§
impl Copy for mask
impl Send for mask
Auto Trait Implementations§
impl Freeze for mask
impl RefUnwindSafe for mask
impl !Sync for mask
impl Unpin for mask
impl UnsafeUnpin for mask
impl UnwindSafe for mask
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