pub struct Preview<'a> {
pub png: &'a [u8],
pub width: u32,
pub height: u32,
}Expand description
Borrowed embedded thumbnail, at its own dimensions, never the native document dimensions.
Fields§
§png: &'a [u8]§width: u32§height: u32Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for Preview<'a>
impl<'a> Freeze for Preview<'a>
impl<'a> Move for Preview<'a>
impl<'a> RefUnwindSafe for Preview<'a>
impl<'a> Send for Preview<'a>
impl<'a> Sync for Preview<'a>
impl<'a> Unpin for Preview<'a>
impl<'a> UnsafeUnpin for Preview<'a>
impl<'a> UnwindSafe for Preview<'a>
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