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§
source§impl Clone for json_reader
impl Clone for json_reader
source§fn clone(&self) -> json_reader
fn clone(&self) -> json_reader
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 json_reader
impl Debug for json_reader
source§impl Default for json_reader
impl Default for json_reader
source§impl PartialEq<json_reader> for json_reader
impl PartialEq<json_reader> for json_reader
source§fn 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 ==
.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§
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