pub enum SectionFormat {
Unified,
SideBySide,
MarkdownInline,
}Expand description
Output format for render_section.
Variants§
Unified
Unified diff (+/- line markers).
SideBySide
Side-by-side: from on the left, to on the right.
MarkdownInline
Markdown with inline +added+/-removed- markers.
Trait Implementations§
Source§impl Clone for SectionFormat
impl Clone for SectionFormat
Source§fn clone(&self) -> SectionFormat
fn clone(&self) -> SectionFormat
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 SectionFormat
impl Debug for SectionFormat
Source§impl Default for SectionFormat
impl Default for SectionFormat
Source§fn default() -> SectionFormat
fn default() -> SectionFormat
Returns the “default value” for a type. Read more
Source§impl PartialEq for SectionFormat
impl PartialEq for SectionFormat
Source§fn eq(&self, other: &SectionFormat) -> bool
fn eq(&self, other: &SectionFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SectionFormat
impl Eq for SectionFormat
impl StructuralPartialEq for SectionFormat
Auto Trait Implementations§
impl Freeze for SectionFormat
impl RefUnwindSafe for SectionFormat
impl Send for SectionFormat
impl Sync for SectionFormat
impl Unpin for SectionFormat
impl UnsafeUnpin for SectionFormat
impl UnwindSafe for SectionFormat
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.