#[repr(C)]pub struct ScreenshotDimensions {
pub width: u32,
pub height: u32,
}Fields§
§width: u32§height: u32Trait Implementations§
Source§impl Clone for ScreenshotDimensions
impl Clone for ScreenshotDimensions
Source§fn clone(&self) -> ScreenshotDimensions
fn clone(&self) -> ScreenshotDimensions
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 ScreenshotDimensions
impl Debug for ScreenshotDimensions
Source§impl Default for ScreenshotDimensions
impl Default for ScreenshotDimensions
Source§fn default() -> ScreenshotDimensions
fn default() -> ScreenshotDimensions
Returns the “default value” for a type. Read more
Source§impl PartialEq for ScreenshotDimensions
impl PartialEq for ScreenshotDimensions
Source§fn eq(&self, other: &ScreenshotDimensions) -> bool
fn eq(&self, other: &ScreenshotDimensions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ScreenshotDimensions
impl Eq for ScreenshotDimensions
impl PlainData for ScreenshotDimensions
impl StructuralPartialEq for ScreenshotDimensions
Auto Trait Implementations§
impl Freeze for ScreenshotDimensions
impl RefUnwindSafe for ScreenshotDimensions
impl Send for ScreenshotDimensions
impl Sync for ScreenshotDimensions
impl Unpin for ScreenshotDimensions
impl UnsafeUnpin for ScreenshotDimensions
impl UnwindSafe for ScreenshotDimensions
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