pub struct Thumbnail {
pub width: u32,
pub height: u32,
pub bits_per_component: Option<u32>,
pub color_space: Option<Object>,
pub decode: Option<Vec<f64>>,
pub stream: Stream,
}Expand description
A page’s thumbnail image (ISO 32000-1 §12.3.4): the /Thumb image
XObject, with the entries the clause makes significant read out and the
rest of Table 89 left in the stream’s dictionary.
Fields§
§width: u32/Width in samples.
height: u32/Height in samples.
bits_per_component: Option<u32>/BitsPerComponent; None when absent.
color_space: Option<Object>/ColorSpace as written: the clause allows DeviceGray, DeviceRGB or
an Indexed space over one of them.
decode: Option<Vec<f64>>/Decode: the sample decode array as numbers, None when absent.
stream: StreamThe image XObject itself: its dictionary and encoded data.
Trait Implementations§
impl StructuralPartialEq for Thumbnail
Auto Trait Implementations§
impl Freeze for Thumbnail
impl RefUnwindSafe for Thumbnail
impl Send for Thumbnail
impl Sync for Thumbnail
impl Unpin for Thumbnail
impl UnsafeUnpin for Thumbnail
impl UnwindSafe for Thumbnail
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