pub enum TextBlockContent {
Text {
lines: Vec<StructuredTextLine>,
},
Image {
transform: Option<Matrix>,
},
Other,
}Variants§
Trait Implementations§
Source§impl Clone for TextBlockContent
impl Clone for TextBlockContent
Source§fn clone(&self) -> TextBlockContent
fn clone(&self) -> TextBlockContent
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 moreSource§impl Debug for TextBlockContent
impl Debug for TextBlockContent
Source§impl PartialEq for TextBlockContent
impl PartialEq for TextBlockContent
Source§fn eq(&self, other: &TextBlockContent) -> bool
fn eq(&self, other: &TextBlockContent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TextBlockContent
Auto Trait Implementations§
impl Freeze for TextBlockContent
impl RefUnwindSafe for TextBlockContent
impl Send for TextBlockContent
impl Sync for TextBlockContent
impl Unpin for TextBlockContent
impl UnsafeUnpin for TextBlockContent
impl UnwindSafe for TextBlockContent
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