pub struct ColumnStats {
pub stat: Vec<CStat>,
pub rows: usize,
/* private fields */
}
Fields§
§stat: Vec<CStat>
§rows: usize
Implementations§
Source§impl ColumnStats
impl ColumnStats
pub fn new(col_type: &ColumnTypes, col_name: &[String]) -> Self
pub fn parse_line_by_fields(&mut self, v: &[&str])
pub fn parse_line(&mut self, line: &str, sep: char, quote: char)
pub fn parse_excel_row(&mut self, v: &[Data])
pub fn cal_unique_and_mean(&mut self)
pub fn merge(&mut self, other: ColumnStats)
pub fn print(&self)
Trait Implementations§
Source§impl Clone for ColumnStats
impl Clone for ColumnStats
Source§impl Debug for ColumnStats
impl Debug for ColumnStats
Auto Trait Implementations§
impl Freeze for ColumnStats
impl RefUnwindSafe for ColumnStats
impl Send for ColumnStats
impl Sync for ColumnStats
impl Unpin for ColumnStats
impl UnwindSafe for ColumnStats
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