pub struct DiffModeOptions { /* private fields */ }Expand description
DiffModeOptions
Implementations§
Source§impl DiffModeOptions
impl DiffModeOptions
pub fn new() -> Self
pub fn get_color(&self) -> bool
pub fn set_color(&mut self, color: bool)
pub fn get_line_number(&self) -> bool
pub fn set_line_number(&mut self, line_number: bool)
pub fn get_only_diffline(&self) -> bool
pub fn set_only_diffline(&mut self, only_diffline: bool)
pub fn get_ignore_spaceblock(&self) -> bool
pub fn set_ignore_spaceblock(&mut self, ignore_spaceblock: bool)
Trait Implementations§
Source§impl Clone for DiffModeOptions
impl Clone for DiffModeOptions
Source§fn clone(&self) -> DiffModeOptions
fn clone(&self) -> DiffModeOptions
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 DiffModeOptions
impl Debug for DiffModeOptions
Source§impl Default for DiffModeOptions
impl Default for DiffModeOptions
impl Copy for DiffModeOptions
Auto Trait Implementations§
impl Freeze for DiffModeOptions
impl RefUnwindSafe for DiffModeOptions
impl Send for DiffModeOptions
impl Sync for DiffModeOptions
impl Unpin for DiffModeOptions
impl UnsafeUnpin for DiffModeOptions
impl UnwindSafe for DiffModeOptions
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more