pub struct WcCounts {
pub lines: u64,
pub words: u64,
pub bytes: u64,
pub chars: u64,
pub max_line_length: u64,
}Expand description
Results from counting a byte slice.
Fields§
§lines: u64§words: u64§bytes: u64§chars: u64§max_line_length: u64Trait Implementations§
impl Eq for WcCounts
impl StructuralPartialEq for WcCounts
Auto Trait Implementations§
impl Freeze for WcCounts
impl RefUnwindSafe for WcCounts
impl Send for WcCounts
impl Sync for WcCounts
impl Unpin for WcCounts
impl UnwindSafe for WcCounts
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