pub struct BlameOptions {
pub start_line: Option<usize>,
pub end_line: Option<usize>,
pub ignore_whitespace: bool,
pub extra_args: ExtraArgs,
}Expand description
Controls blame output.
Fields§
§start_line: Option<usize>First one-based line to include.
end_line: Option<usize>Last one-based line to include.
ignore_whitespace: boolWhether to ignore whitespace-only changes.
extra_args: ExtraArgsImplementation-specific passthrough arguments.
Trait Implementations§
Source§impl Clone for BlameOptions
impl Clone for BlameOptions
Source§fn clone(&self) -> BlameOptions
fn clone(&self) -> BlameOptions
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 BlameOptions
impl Debug for BlameOptions
Source§impl Default for BlameOptions
impl Default for BlameOptions
Source§fn default() -> BlameOptions
fn default() -> BlameOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BlameOptions
impl RefUnwindSafe for BlameOptions
impl Send for BlameOptions
impl Sync for BlameOptions
impl Unpin for BlameOptions
impl UnsafeUnpin for BlameOptions
impl UnwindSafe for BlameOptions
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