modes

Struct modes 

Source
#[repr(C)]
pub struct modes {
Show 15 fields pub d__x_BM: *mut f64, pub d__y_BM: *mut f64, pub d__BM: *mut f64, pub d__BMS: *mut f64, pub BM_radius: f64, pub BM_N_SAMPLE: c_int, pub d__BM_buffer: *mut f64, pub n_mode: c_int, pub b: *mut rtd, pub d__b: *mut rtd, pub N: c_int, pub filename: [c_char; 256], pub N_SET: c_int, pub N_MODE: c_int, pub d__s2b: *mut c_int,
}

Fields§

§d__x_BM: *mut f64§d__y_BM: *mut f64§d__BM: *mut f64§d__BMS: *mut f64§BM_radius: f64§BM_N_SAMPLE: c_int§d__BM_buffer: *mut f64§n_mode: c_int§b: *mut rtd§d__b: *mut rtd§N: c_int§filename: [c_char; 256]§N_SET: c_int§N_MODE: c_int§d__s2b: *mut c_int

Implementations§

Source§

impl modes

Source

pub unsafe fn setup(&mut self, filename: *mut c_char, N: c_int, n_mode: c_int)

Source

pub unsafe fn setup1( &mut self, _BM_N_SAMPLE_: c_int, _BM_radius_: f64, _N_SET_: c_int, _N_MODE_: c_int, s2b: *mut c_int, buffer: *mut f64, _N_: c_int, _n_mode_: c_int, )

Source

pub unsafe fn cleanup(&mut self)

Source

pub unsafe fn load(&mut self)

Source

pub unsafe fn load1( &mut self, _BM_N_SAMPLE_: c_int, _BM_radius_: f64, _N_SET_: c_int, _N_MODE_: c_int, s2b: *mut c_int, buffer: *mut f64, )

Source

pub unsafe fn reset_modes(&mut self, buffer: *mut f64)

Source

pub unsafe fn update(&mut self, b: *mut rtd)

Trait Implementations§

Source§

impl Clone for modes

Source§

fn clone(&self) -> modes

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for modes

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for modes

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Copy for modes

Source§

impl Send for modes

Auto Trait Implementations§

§

impl Freeze for modes

§

impl RefUnwindSafe for modes

§

impl !Sync for modes

§

impl Unpin for modes

§

impl UnwindSafe for modes

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.