pub struct PixelAspect {
pub width: u32,
pub height: u32,
}Expand description
The shape of one pixel: width to height.
Fields§
§width: u32§height: u32Trait Implementations§
Source§impl Clone for PixelAspect
impl Clone for PixelAspect
impl Copy for PixelAspect
Source§impl Debug for PixelAspect
impl Debug for PixelAspect
impl Eq for PixelAspect
Source§impl PartialEq for PixelAspect
impl PartialEq for PixelAspect
impl StructuralPartialEq for PixelAspect
Auto Trait Implementations§
impl Forget for PixelAspect
impl Freeze for PixelAspect
impl Move for PixelAspect
impl RefUnwindSafe for PixelAspect
impl Send for PixelAspect
impl Sync for PixelAspect
impl Unpin for PixelAspect
impl UnsafeUnpin for PixelAspect
impl UnwindSafe for PixelAspect
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.