Struct rsvr_profile::VideoDisplayParams
source · 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
sourceimpl Clone for VideoDisplayParams
impl Clone for VideoDisplayParams
sourcefn clone(&self) -> VideoDisplayParams
fn clone(&self) -> VideoDisplayParams
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for VideoDisplayParams
impl Debug for VideoDisplayParams
sourceimpl<'de> Deserialize<'de> for VideoDisplayParams
impl<'de> Deserialize<'de> for VideoDisplayParams
sourcefn 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
sourceimpl PartialEq<VideoDisplayParams> for VideoDisplayParams
impl PartialEq<VideoDisplayParams> for VideoDisplayParams
sourcefn eq(&self, other: &VideoDisplayParams) -> bool
fn eq(&self, other: &VideoDisplayParams) -> bool
sourceimpl Serialize for VideoDisplayParams
impl Serialize for VideoDisplayParams
impl StructuralPartialEq for VideoDisplayParams
Auto Trait Implementations
impl RefUnwindSafe for VideoDisplayParams
impl Send for VideoDisplayParams
impl Sync for VideoDisplayParams
impl Unpin for VideoDisplayParams
impl UnwindSafe for VideoDisplayParams
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more