Struct crankstart_sys::json_reader
source · [−]#[repr(C)]pub struct json_reader {
pub read: Option<unsafe extern "C" fn(userdata: *mut c_void, buf: *mut u8, bufsize: c_int) -> c_int>,
pub userdata: *mut c_void,
}
Fields
read: Option<unsafe extern "C" fn(userdata: *mut c_void, buf: *mut u8, bufsize: c_int) -> c_int>
userdata: *mut c_void
Trait Implementations
sourceimpl Clone for json_reader
impl Clone for json_reader
sourcefn clone(&self) -> json_reader
fn clone(&self) -> json_reader
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for json_reader
impl Debug for json_reader
sourceimpl Default for json_reader
impl Default for json_reader
sourceimpl PartialEq<json_reader> for json_reader
impl PartialEq<json_reader> for json_reader
sourcefn eq(&self, other: &json_reader) -> bool
fn eq(&self, other: &json_reader) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &json_reader) -> bool
fn ne(&self, other: &json_reader) -> bool
This method tests for !=
.
impl Copy for json_reader
impl Eq for json_reader
impl StructuralEq for json_reader
impl StructuralPartialEq for json_reader
Auto Trait Implementations
impl RefUnwindSafe for json_reader
impl !Send for json_reader
impl !Sync for json_reader
impl Unpin for json_reader
impl UnwindSafe for json_reader
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more