#[repr(C)]pub struct cpxserializer {
pub addbyte: Option<unsafe extern "C" fn(ser: CPXSERIALIZERptr, b: CPXBYTE) -> c_int>,
pub addshort: Option<unsafe extern "C" fn(ser: CPXSERIALIZERptr, s: CPXSHORT) -> c_int>,
pub addint: Option<unsafe extern "C" fn(ser: CPXSERIALIZERptr, i: CPXINT) -> c_int>,
pub addlong: Option<unsafe extern "C" fn(ser: CPXSERIALIZERptr, l: CPXLONG) -> c_int>,
pub addfloat: Option<unsafe extern "C" fn(ser: CPXSERIALIZERptr, f: f32) -> c_int>,
pub adddouble: Option<unsafe extern "C" fn(ser: CPXSERIALIZERptr, d: f64) -> c_int>,
pub addbytes: Option<unsafe extern "C" fn(ser: CPXSERIALIZERptr, cnt: CPXLONG, b: *const CPXBYTE) -> c_int>,
pub addshorts: Option<unsafe extern "C" fn(ser: CPXSERIALIZERptr, cnt: CPXLONG, s: *const CPXSHORT) -> c_int>,
pub addints: Option<unsafe extern "C" fn(ser: CPXSERIALIZERptr, cnt: CPXLONG, i: *const CPXINT) -> c_int>,
pub addlongs: Option<unsafe extern "C" fn(ser: CPXSERIALIZERptr, cnt: CPXLONG, l: *const CPXLONG) -> c_int>,
pub addfloats: Option<unsafe extern "C" fn(ser: CPXSERIALIZERptr, cnt: CPXLONG, d: *const f32) -> c_int>,
pub adddoubles: Option<unsafe extern "C" fn(ser: CPXSERIALIZERptr, cnt: CPXLONG, d: *const f64) -> c_int>,
}Fields§
§addbyte: Option<unsafe extern "C" fn(ser: CPXSERIALIZERptr, b: CPXBYTE) -> c_int>§addshort: Option<unsafe extern "C" fn(ser: CPXSERIALIZERptr, s: CPXSHORT) -> c_int>§addint: Option<unsafe extern "C" fn(ser: CPXSERIALIZERptr, i: CPXINT) -> c_int>§addlong: Option<unsafe extern "C" fn(ser: CPXSERIALIZERptr, l: CPXLONG) -> c_int>§addfloat: Option<unsafe extern "C" fn(ser: CPXSERIALIZERptr, f: f32) -> c_int>§adddouble: Option<unsafe extern "C" fn(ser: CPXSERIALIZERptr, d: f64) -> c_int>§addbytes: Option<unsafe extern "C" fn(ser: CPXSERIALIZERptr, cnt: CPXLONG, b: *const CPXBYTE) -> c_int>§addshorts: Option<unsafe extern "C" fn(ser: CPXSERIALIZERptr, cnt: CPXLONG, s: *const CPXSHORT) -> c_int>§addints: Option<unsafe extern "C" fn(ser: CPXSERIALIZERptr, cnt: CPXLONG, i: *const CPXINT) -> c_int>§addlongs: Option<unsafe extern "C" fn(ser: CPXSERIALIZERptr, cnt: CPXLONG, l: *const CPXLONG) -> c_int>§addfloats: Option<unsafe extern "C" fn(ser: CPXSERIALIZERptr, cnt: CPXLONG, d: *const f32) -> c_int>§adddoubles: Option<unsafe extern "C" fn(ser: CPXSERIALIZERptr, cnt: CPXLONG, d: *const f64) -> c_int>Trait Implementations§
Source§impl Clone for cpxserializer
impl Clone for cpxserializer
Source§fn clone(&self) -> cpxserializer
fn clone(&self) -> cpxserializer
Returns a duplicate 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 cpxserializer
impl Debug for cpxserializer
impl Copy for cpxserializer
Auto Trait Implementations§
impl Freeze for cpxserializer
impl RefUnwindSafe for cpxserializer
impl Send for cpxserializer
impl Sync for cpxserializer
impl Unpin for cpxserializer
impl UnwindSafe for cpxserializer
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