pub struct SizeHeader {
pub height: u32,
pub width: u32,
/* private fields */
}
Expand description
Image size information.
Fields§
§height: u32
Image height.
width: u32
Image width.
Trait Implementations§
Source§impl<Ctx: Copy> Bundle<Ctx> for SizeHeader
impl<Ctx: Copy> Bundle<Ctx> for SizeHeader
Source§impl<Ctx: Copy> BundleDefault<Ctx> for SizeHeader
impl<Ctx: Copy> BundleDefault<Ctx> for SizeHeader
Source§fn default_with_context(_ctx: Ctx) -> Selfwhere
Self: Sized,
fn default_with_context(_ctx: Ctx) -> Selfwhere
Self: Sized,
Creates a default value with the given context.
Auto Trait Implementations§
impl Freeze for SizeHeader
impl RefUnwindSafe for SizeHeader
impl Send for SizeHeader
impl Sync for SizeHeader
impl Unpin for SizeHeader
impl UnwindSafe for SizeHeader
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