pub struct EmbeddedImage { /* private fields */ }Expand description
An image XObject this session added, ready to place on a page.
EmbeddedImage::object is the /XObject a page resource names, and what
ImageBuilder::at in the facade takes. The dimensions come back because
they are the caller’s only statement of the aspect ratio the placement
rectangle should keep — a JPEG’s are read out of its header, not supplied.
Implementations§
Trait Implementations§
Source§impl Clone for EmbeddedImage
impl Clone for EmbeddedImage
Source§fn clone(&self) -> EmbeddedImage
fn clone(&self) -> EmbeddedImage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EmbeddedImage
Source§impl Debug for EmbeddedImage
impl Debug for EmbeddedImage
impl Eq for EmbeddedImage
Source§impl PartialEq for EmbeddedImage
impl PartialEq for EmbeddedImage
impl StructuralPartialEq for EmbeddedImage
Auto Trait Implementations§
impl Freeze for EmbeddedImage
impl RefUnwindSafe for EmbeddedImage
impl Send for EmbeddedImage
impl Sync for EmbeddedImage
impl Unpin for EmbeddedImage
impl UnsafeUnpin for EmbeddedImage
impl UnwindSafe for EmbeddedImage
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