Struct annotate_snippets::display_list::FormatOptions
source · pub struct FormatOptions {
pub color: bool,
pub anonymized_line_numbers: bool,
pub margin: Option<Margin>,
}
Fields§
§color: bool
§anonymized_line_numbers: bool
§margin: Option<Margin>
Trait Implementations§
source§impl Clone for FormatOptions
impl Clone for FormatOptions
source§fn clone(&self) -> FormatOptions
fn clone(&self) -> FormatOptions
Returns a copy 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 FormatOptions
impl Debug for FormatOptions
source§impl Default for FormatOptions
impl Default for FormatOptions
source§fn default() -> FormatOptions
fn default() -> FormatOptions
Returns the “default value” for a type. Read more
impl Copy for FormatOptions
Auto Trait Implementations§
impl RefUnwindSafe for FormatOptions
impl Send for FormatOptions
impl Sync for FormatOptions
impl Unpin for FormatOptions
impl UnwindSafe for FormatOptions
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