pub struct SourceMeta {
pub width: u32,
pub height: u32,
pub format: SourceFormat,
}Expand description
The extent and pixel format of a SourceFrame, as returned by
SourceFrame::into_parts.
Fields§
§width: u32Width in pixels.
height: u32Height in pixels.
format: SourceFormatHow the payload’s pixels are laid out.
Trait Implementations§
Source§impl Clone for SourceMeta
impl Clone for SourceMeta
impl Copy for SourceMeta
Source§impl Debug for SourceMeta
impl Debug for SourceMeta
impl Eq for SourceMeta
Source§impl PartialEq for SourceMeta
impl PartialEq for SourceMeta
impl StructuralPartialEq for SourceMeta
Auto Trait Implementations§
impl Freeze for SourceMeta
impl RefUnwindSafe for SourceMeta
impl Send for SourceMeta
impl Sync for SourceMeta
impl Unpin for SourceMeta
impl UnsafeUnpin for SourceMeta
impl UnwindSafe for SourceMeta
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.