Enum gbdt::input::FileFormat
source · [−]pub enum FileFormat {
CSV,
TXT,
}
Expand description
This enum type defines the data file format.
We support two data format:
- CSV format
- LibSVM data format
Variants
CSV
CSV format
TXT
LibSVM data format
Trait Implementations
sourceimpl Clone for FileFormat
impl Clone for FileFormat
sourcefn clone(&self) -> FileFormat
fn clone(&self) -> FileFormat
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for FileFormat
impl Debug for FileFormat
sourceimpl<'de> Deserialize<'de> for FileFormat
impl<'de> Deserialize<'de> for FileFormat
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<FileFormat> for FileFormat
impl PartialEq<FileFormat> for FileFormat
sourcefn eq(&self, other: &FileFormat) -> bool
fn eq(&self, other: &FileFormat) -> bool
sourceimpl Serialize for FileFormat
impl Serialize for FileFormat
impl Copy for FileFormat
impl StructuralPartialEq for FileFormat
Auto Trait Implementations
impl RefUnwindSafe for FileFormat
impl Send for FileFormat
impl Sync for FileFormat
impl Unpin for FileFormat
impl UnwindSafe for FileFormat
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more