Struct puffin::harness::bindings::PUFFIN_BINDINGS
source · #[repr(C)]pub struct PUFFIN_BINDINGS {
pub error: Option<unsafe extern "C" fn(message: *const c_char)>,
pub warn: Option<unsafe extern "C" fn(message: *const c_char)>,
pub info: Option<unsafe extern "C" fn(message: *const c_char)>,
pub debug: Option<unsafe extern "C" fn(message: *const c_char)>,
pub trace: Option<unsafe extern "C" fn(message: *const c_char)>,
pub make_result: Option<unsafe extern "C" fn(code: RESULT_CODE, description: *const c_char) -> RESULT>,
}
Fields§
§error: Option<unsafe extern "C" fn(message: *const c_char)>
§warn: Option<unsafe extern "C" fn(message: *const c_char)>
§info: Option<unsafe extern "C" fn(message: *const c_char)>
§debug: Option<unsafe extern "C" fn(message: *const c_char)>
§trace: Option<unsafe extern "C" fn(message: *const c_char)>
§make_result: Option<unsafe extern "C" fn(code: RESULT_CODE, description: *const c_char) -> RESULT>
Trait Implementations§
source§impl Clone for PUFFIN_BINDINGS
impl Clone for PUFFIN_BINDINGS
source§fn clone(&self) -> PUFFIN_BINDINGS
fn clone(&self) -> PUFFIN_BINDINGS
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 PUFFIN_BINDINGS
impl Debug for PUFFIN_BINDINGS
source§impl Default for PUFFIN_BINDINGS
impl Default for PUFFIN_BINDINGS
source§fn default() -> PUFFIN_BINDINGS
fn default() -> PUFFIN_BINDINGS
Returns the “default value” for a type. Read more
source§impl PartialEq for PUFFIN_BINDINGS
impl PartialEq for PUFFIN_BINDINGS
impl Copy for PUFFIN_BINDINGS
impl Eq for PUFFIN_BINDINGS
impl StructuralPartialEq for PUFFIN_BINDINGS
Auto Trait Implementations§
impl Freeze for PUFFIN_BINDINGS
impl RefUnwindSafe for PUFFIN_BINDINGS
impl Send for PUFFIN_BINDINGS
impl Sync for PUFFIN_BINDINGS
impl Unpin for PUFFIN_BINDINGS
impl UnwindSafe for PUFFIN_BINDINGS
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
§impl<T> CloneAny for T
impl<T> CloneAny for T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Tail, T> Prepend<T> for Tail
impl<Tail, T> Prepend<T> for Tail
§type PreprendResult = Tail
type PreprendResult = Tail
The Resulting [
TupleList
], of an [Prepend::prepend()
] call,
including the prepended entry.