pub enum FormatChangeKind {
Block,
Character,
}Expand description
What kind of formatting changed.
Variants§
Block
Block-level: alignment, margins, indent, heading level. Requires paragraph relayout.
Character
Character-level: font, bold, italic, underline, color. Requires reshaping but not necessarily reflow.
Trait Implementations§
Source§impl Clone for FormatChangeKind
impl Clone for FormatChangeKind
Source§fn clone(&self) -> FormatChangeKind
fn clone(&self) -> FormatChangeKind
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 FormatChangeKind
impl Debug for FormatChangeKind
Source§impl PartialEq for FormatChangeKind
impl PartialEq for FormatChangeKind
impl Copy for FormatChangeKind
impl Eq for FormatChangeKind
impl StructuralPartialEq for FormatChangeKind
Auto Trait Implementations§
impl Freeze for FormatChangeKind
impl RefUnwindSafe for FormatChangeKind
impl Send for FormatChangeKind
impl Sync for FormatChangeKind
impl Unpin for FormatChangeKind
impl UnsafeUnpin for FormatChangeKind
impl UnwindSafe for FormatChangeKind
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