pub struct ScreencastSize {
pub width: i32,
pub height: i32,
}Expand description
Pixel dimensions for a screencast frame.
Fields§
§width: i32§height: i32Trait Implementations§
Source§impl Clone for ScreencastSize
impl Clone for ScreencastSize
Source§fn clone(&self) -> ScreencastSize
fn clone(&self) -> ScreencastSize
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ScreencastSize
impl Debug for ScreencastSize
Source§impl PartialEq for ScreencastSize
impl PartialEq for ScreencastSize
Source§fn eq(&self, other: &ScreencastSize) -> bool
fn eq(&self, other: &ScreencastSize) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ScreencastSize
impl Eq for ScreencastSize
impl StructuralPartialEq for ScreencastSize
Auto Trait Implementations§
impl Freeze for ScreencastSize
impl RefUnwindSafe for ScreencastSize
impl Send for ScreencastSize
impl Sync for ScreencastSize
impl Unpin for ScreencastSize
impl UnsafeUnpin for ScreencastSize
impl UnwindSafe for ScreencastSize
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