pub struct ResolutionFootprint {
pub width: usize,
pub height: usize,
pub total_pixels: usize,
pub memory_megabytes: f32,
}Fields§
§width: usize§height: usize§total_pixels: usize§memory_megabytes: f32Trait Implementations§
Source§impl Clone for ResolutionFootprint
impl Clone for ResolutionFootprint
Source§fn clone(&self) -> ResolutionFootprint
fn clone(&self) -> ResolutionFootprint
Returns a duplicate of the value. Read more
1.0.0 · 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 ResolutionFootprint
impl Debug for ResolutionFootprint
Auto Trait Implementations§
impl Freeze for ResolutionFootprint
impl RefUnwindSafe for ResolutionFootprint
impl Send for ResolutionFootprint
impl Sync for ResolutionFootprint
impl Unpin for ResolutionFootprint
impl UnsafeUnpin for ResolutionFootprint
impl UnwindSafe for ResolutionFootprint
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