pub struct Formatting {
pub bold: bool,
pub italic: bool,
pub underline: bool,
pub strikethrough: bool,
pub script: Script,
}Expand description
docling-core’s Formatting: the inline styles an item carries in JSON.
Fields§
§bold: bool§italic: bool§underline: bool§strikethrough: bool§script: ScriptTrait Implementations§
Source§impl Clone for Formatting
impl Clone for Formatting
impl Copy for Formatting
Source§impl Debug for Formatting
impl Debug for Formatting
Source§impl Default for Formatting
impl Default for Formatting
impl Eq for Formatting
Source§impl PartialEq for Formatting
impl PartialEq for Formatting
impl StructuralPartialEq for Formatting
Auto Trait Implementations§
impl Freeze for Formatting
impl RefUnwindSafe for Formatting
impl Send for Formatting
impl Sync for Formatting
impl Unpin for Formatting
impl UnsafeUnpin for Formatting
impl UnwindSafe for Formatting
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.