pub struct PixelSize {
pub width: u32,
pub height: u32,
}Available on crate feature
kitty-graphics only.Expand description
The size of an image in pixel coordinates.
Fields§
§width: u32The width in number of pixels.
height: u32The height in number of pixels.
Trait Implementations§
impl Copy for PixelSize
impl Eq for PixelSize
impl StructuralPartialEq for PixelSize
Auto Trait Implementations§
impl Freeze for PixelSize
impl RefUnwindSafe for PixelSize
impl Send for PixelSize
impl Sync for PixelSize
impl Unpin for PixelSize
impl UnsafeUnpin for PixelSize
impl UnwindSafe for PixelSize
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