pub enum ImageMode {
Placeholder,
Embedded,
Referenced,
}Expand description
How pictures are rendered (mirrors docling-core’s ImageRefMode).
Variants§
Placeholder
<!-- image --> (docling’s default, and the only mode without image data).
Embedded
 — self-contained.
Referenced
; the bytes are returned for the
caller to write.
Trait Implementations§
impl Copy for ImageMode
impl Eq for ImageMode
impl StructuralPartialEq for ImageMode
Auto Trait Implementations§
impl Freeze for ImageMode
impl RefUnwindSafe for ImageMode
impl Send for ImageMode
impl Sync for ImageMode
impl Unpin for ImageMode
impl UnsafeUnpin for ImageMode
impl UnwindSafe for ImageMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.