pub struct ColumnTypes(/* private fields */);Implementations§
Source§impl ColumnTypes
impl ColumnTypes
pub fn iter(&self) -> impl Iterator<Item = &CType>
pub fn guess_from_csv( path: &Path, sep: char, quote: char, no_header: bool, cols: &Columns<'_>, ) -> Result<Option<Self>, Box<dyn Error>>
pub fn guess_from_excel( range: &ExcelReader, no_header: bool, cols: &Columns<'_>, ) -> Option<Self>
pub fn guess_from_io(v: &[Vec<&str>], cols: &Columns<'_>) -> Self
pub fn update_excel_column_width(&self, sheet: &mut Worksheet<'_>) -> CliResult
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ColumnTypes
impl RefUnwindSafe for ColumnTypes
impl Send for ColumnTypes
impl Sync for ColumnTypes
impl Unpin for ColumnTypes
impl UnwindSafe for ColumnTypes
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