pub enum LayoutLevel {
Block = 0,
Paragraph = 1,
TextLine = 2,
Word = 3,
Symbol = 4,
}Expand description
Element of layout hierarchy
Variants§
Block = 0
Block of text/image/separator line.
Paragraph = 1
Paragraph within a block.
TextLine = 2
Line within a paragraph.
Word = 3
Word within a textline.
Symbol = 4
Symbol/character within a word.
Trait Implementations§
Source§impl Clone for LayoutLevel
impl Clone for LayoutLevel
Source§fn clone(&self) -> LayoutLevel
fn clone(&self) -> LayoutLevel
Returns a duplicate of the value. Read more
1.0.0 · 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 LayoutLevel
impl Debug for LayoutLevel
Source§impl Hash for LayoutLevel
impl Hash for LayoutLevel
Source§impl Ord for LayoutLevel
impl Ord for LayoutLevel
Source§fn cmp(&self, other: &LayoutLevel) -> Ordering
fn cmp(&self, other: &LayoutLevel) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LayoutLevel
impl PartialEq for LayoutLevel
Source§impl PartialOrd for LayoutLevel
impl PartialOrd for LayoutLevel
impl Copy for LayoutLevel
impl Eq for LayoutLevel
impl StructuralPartialEq for LayoutLevel
Auto Trait Implementations§
impl Freeze for LayoutLevel
impl RefUnwindSafe for LayoutLevel
impl Send for LayoutLevel
impl Sync for LayoutLevel
impl Unpin for LayoutLevel
impl UnsafeUnpin for LayoutLevel
impl UnwindSafe for LayoutLevel
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