Enum cfasttext_sys::model_name_t
source · [−]#[repr(u32)]
pub enum model_name_t {
MODEL_CBOW,
MODEL_SG,
MODEL_SUP,
}Variants
MODEL_CBOW
MODEL_SG
MODEL_SUP
Trait Implementations
sourceimpl Clone for model_name_t
impl Clone for model_name_t
sourcefn clone(&self) -> model_name_t
fn clone(&self) -> model_name_t
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for model_name_t
impl Debug for model_name_t
sourceimpl Hash for model_name_t
impl Hash for model_name_t
sourceimpl PartialEq<model_name_t> for model_name_t
impl PartialEq<model_name_t> for model_name_t
impl Copy for model_name_t
impl Eq for model_name_t
impl StructuralEq for model_name_t
impl StructuralPartialEq for model_name_t
Auto Trait Implementations
impl RefUnwindSafe for model_name_t
impl Send for model_name_t
impl Sync for model_name_t
impl Unpin for model_name_t
impl UnwindSafe for model_name_t
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more