pub struct CountOptions {
pub lines: bool,
pub words: bool,
pub chars: bool,
pub max_line_length: bool,
}Fields§
§lines: bool§words: bool§chars: bool§max_line_length: boolTrait Implementations§
Source§impl Clone for CountOptions
impl Clone for CountOptions
Source§fn clone(&self) -> CountOptions
fn clone(&self) -> CountOptions
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 CountOptions
impl Debug for CountOptions
Source§impl Default for CountOptions
impl Default for CountOptions
Source§fn default() -> CountOptions
fn default() -> CountOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for CountOptions
impl PartialEq for CountOptions
Source§fn eq(&self, other: &CountOptions) -> bool
fn eq(&self, other: &CountOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CountOptions
impl Eq for CountOptions
impl StructuralPartialEq for CountOptions
Auto Trait Implementations§
impl Freeze for CountOptions
impl RefUnwindSafe for CountOptions
impl Send for CountOptions
impl Sync for CountOptions
impl Unpin for CountOptions
impl UnsafeUnpin for CountOptions
impl UnwindSafe for CountOptions
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