pub struct VideoDisplayParams {
pub width_px: u32,
pub height_px: u32,
pub width_m: f32,
pub height_m: f32,
pub bottom_bezel_offset_m: f32,
}
Expand description
Represents the ‘display’ aspect of a video output device; e.g. info about a phone.
Fields§
§width_px: u32
§height_px: u32
§width_m: f32
§height_m: f32
§bottom_bezel_offset_m: f32
Trait Implementations§
Source§impl Clone for VideoDisplayParams
impl Clone for VideoDisplayParams
Source§fn clone(&self) -> VideoDisplayParams
fn clone(&self) -> VideoDisplayParams
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 VideoDisplayParams
impl Debug for VideoDisplayParams
Source§impl<'de> Deserialize<'de> for VideoDisplayParams
impl<'de> Deserialize<'de> for VideoDisplayParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for VideoDisplayParams
impl PartialEq for VideoDisplayParams
Source§impl Serialize for VideoDisplayParams
impl Serialize for VideoDisplayParams
impl StructuralPartialEq for VideoDisplayParams
Auto Trait Implementations§
impl Freeze for VideoDisplayParams
impl RefUnwindSafe for VideoDisplayParams
impl Send for VideoDisplayParams
impl Sync for VideoDisplayParams
impl Unpin for VideoDisplayParams
impl UnwindSafe for VideoDisplayParams
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