pub enum FormatChangeKind {
Block,
Character,
List,
}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.
List
List-level: style, indent, prefix, suffix. Requires marker relayout for list items.
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FormatChangeKind
Source§impl Debug for FormatChangeKind
impl Debug for FormatChangeKind
impl Eq for FormatChangeKind
Source§impl PartialEq for FormatChangeKind
impl PartialEq 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
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.