pub struct ScreenshotMetadata {
pub width: u16,
pub height: u16,
pub format: ScreenshotPixelFormat,
pub payload_bytes: usize,
}Fields§
§width: u16§height: u16§format: ScreenshotPixelFormat§payload_bytes: usizeTrait Implementations§
Source§impl Clone for ScreenshotMetadata
impl Clone for ScreenshotMetadata
Source§fn clone(&self) -> ScreenshotMetadata
fn clone(&self) -> ScreenshotMetadata
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 ScreenshotMetadata
impl Debug for ScreenshotMetadata
Source§impl<'de> Deserialize<'de> for ScreenshotMetadata
impl<'de> Deserialize<'de> for ScreenshotMetadata
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 ScreenshotMetadata
impl PartialEq for ScreenshotMetadata
Source§fn eq(&self, other: &ScreenshotMetadata) -> bool
fn eq(&self, other: &ScreenshotMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ScreenshotMetadata
impl Serialize for ScreenshotMetadata
impl Copy for ScreenshotMetadata
impl Eq for ScreenshotMetadata
impl StructuralPartialEq for ScreenshotMetadata
Auto Trait Implementations§
impl Freeze for ScreenshotMetadata
impl RefUnwindSafe for ScreenshotMetadata
impl Send for ScreenshotMetadata
impl Sync for ScreenshotMetadata
impl Unpin for ScreenshotMetadata
impl UnsafeUnpin for ScreenshotMetadata
impl UnwindSafe for ScreenshotMetadata
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