#[repr(C)]pub struct lh_media_features {
pub type_: c_int,
pub width: f32,
pub height: f32,
pub device_width: f32,
pub device_height: f32,
pub color: c_int,
pub color_index: c_int,
pub monochrome: c_int,
pub resolution: f32,
}Fields§
§type_: c_int§width: f32§height: f32§device_width: f32§device_height: f32§color: c_int§color_index: c_int§monochrome: c_int§resolution: f32Trait Implementations§
Source§impl Clone for lh_media_features
impl Clone for lh_media_features
Source§fn clone(&self) -> lh_media_features
fn clone(&self) -> lh_media_features
Returns a duplicate 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 lh_media_features
impl Debug for lh_media_features
Source§impl Default for lh_media_features
impl Default for lh_media_features
Source§fn default() -> lh_media_features
fn default() -> lh_media_features
Returns the “default value” for a type. Read more
impl Copy for lh_media_features
Auto Trait Implementations§
impl Freeze for lh_media_features
impl RefUnwindSafe for lh_media_features
impl Send for lh_media_features
impl Sync for lh_media_features
impl Unpin for lh_media_features
impl UnsafeUnpin for lh_media_features
impl UnwindSafe for lh_media_features
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