Type Alias BN_GENCB

Source
pub type BN_GENCB = bn_gencb_st;

Aliased Type§

struct BN_GENCB {
    pub arg: *mut c_void,
    pub callback: Option<unsafe extern "C" fn(_: i32, _: i32, _: *mut bn_gencb_st) -> i32>,
}

Fields§

§arg: *mut c_void§callback: Option<unsafe extern "C" fn(_: i32, _: i32, _: *mut bn_gencb_st) -> i32>

Trait Implementations

Source§

impl Clone for bn_gencb_st

Source§

fn clone(&self) -> bn_gencb_st

Returns a copy 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 bn_gencb_st

Source§

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

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

impl Copy for bn_gencb_st