pub struct CutConfig<'a> {
pub mode: CutMode,
pub ranges: &'a [Range],
pub complement: bool,
pub delim: u8,
pub output_delim: &'a [u8],
pub suppress_no_delim: bool,
pub line_delim: u8,
}Expand description
Configuration for cut operations.
Fields§
§mode: CutMode§ranges: &'a [Range]§complement: bool§delim: u8§output_delim: &'a [u8]§suppress_no_delim: bool§line_delim: u8Auto Trait Implementations§
impl<'a> Freeze for CutConfig<'a>
impl<'a> RefUnwindSafe for CutConfig<'a>
impl<'a> Send for CutConfig<'a>
impl<'a> Sync for CutConfig<'a>
impl<'a> Unpin for CutConfig<'a>
impl<'a> UnwindSafe for CutConfig<'a>
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> 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