#[repr(C)]
pub struct maple_frame_t {Show 13 fields
pub frame_next: *mut maple_frame_t,
pub frame_prev: *mut *mut maple_frame_t,
pub cmd: c_int,
pub dst_port: c_int,
pub dst_unit: c_int,
pub length: c_int,
pub state: *mut c_int,
pub queued: *mut c_int,
pub send_buf: *mut c_void,
pub recv_buf: *mut u8,
pub dev: *mut maple_device_t,
pub callback: Option<extern "C" fn(_: *mut maple_state_t, _: *mut maple_frame_t)>,
pub recv_buf_arr: [u8; 1056],
}
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
[From]<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.