pub struct Image {
pub id: Option<ObjId>,
pub dict: Dict,
pub inline_data: Vec<u8>,
}Expand description
An image to draw: an XObject or an inline image.
Fields§
§id: Option<ObjId>The image XObject’s id, or None for an inline image.
dict: DictThe image dictionary.
inline_data: Vec<u8>The inline image’s (still encoded) data; empty for an XObject.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Image
impl RefUnwindSafe for Image
impl Send for Image
impl Sync for Image
impl Unpin for Image
impl UnsafeUnpin for Image
impl UnwindSafe for Image
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