Struct boring_sys::bn_gencb_st
source · #[repr(C)]pub struct bn_gencb_st {
pub arg: *mut c_void,
pub callback: Option<unsafe extern "C" fn(event: c_int, n: c_int, arg1: *mut bn_gencb_st) -> c_int>,
}
Fields§
§arg: *mut c_void
§callback: Option<unsafe extern "C" fn(event: c_int, n: c_int, arg1: *mut bn_gencb_st) -> c_int>
Trait Implementations§
source§impl Clone for bn_gencb_st
impl Clone for bn_gencb_st
source§fn clone(&self) -> bn_gencb_st
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)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for bn_gencb_st
impl Debug for bn_gencb_st
source§impl Default for bn_gencb_st
impl Default for bn_gencb_st
source§impl PartialEq for bn_gencb_st
impl PartialEq for bn_gencb_st
source§fn eq(&self, other: &bn_gencb_st) -> bool
fn eq(&self, other: &bn_gencb_st) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for bn_gencb_st
impl Eq for bn_gencb_st
impl StructuralPartialEq for bn_gencb_st
Auto Trait Implementations§
impl Freeze for bn_gencb_st
impl RefUnwindSafe for bn_gencb_st
impl !Send for bn_gencb_st
impl !Sync for bn_gencb_st
impl Unpin for bn_gencb_st
impl UnwindSafe for bn_gencb_st
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