#[repr(C)]
pub struct maple_devinfo_t {
pub functions: u32,
pub function_data: [u32; 3],
pub area_code: u8,
pub connector_direction: u8,
pub product_name: [c_char; 30],
pub product_license: [c_char; 60],
pub standby_power: u16,
pub max_power: u16,
}
§standby_power: u16
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.