#[repr(C)]
pub struct dreameye_state_t {
pub image_count: c_int,
pub image_count_valid: c_int,
pub transfer_count: c_int,
pub img_transferring: c_int,
pub img_buf: *mut u8,
pub img_size: c_int,
pub img_number: u8,
}
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.