pub struct PreviewHeader {
pub height: u32,
pub width: u32,
/* private fields */
}
Fields§
§height: u32
Height of the preview image.
width: u32
Width of the preview image.
Trait Implementations§
Source§impl<Ctx: Copy> Bundle<Ctx> for PreviewHeader
impl<Ctx: Copy> Bundle<Ctx> for PreviewHeader
Source§impl<Ctx: Copy> BundleDefault<Ctx> for PreviewHeader
impl<Ctx: Copy> BundleDefault<Ctx> for PreviewHeader
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 PreviewHeader
impl RefUnwindSafe for PreviewHeader
impl Send for PreviewHeader
impl Sync for PreviewHeader
impl Unpin for PreviewHeader
impl UnwindSafe for PreviewHeader
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