Struct cfasttext_sys::fasttext_prediction_t
source · #[repr(C)]pub struct fasttext_prediction_t {
pub prob: f32,
pub label: *mut c_char,
}
Fields§
§prob: f32
§label: *mut c_char
Trait Implementations§
source§impl Clone for fasttext_prediction_t
impl Clone for fasttext_prediction_t
source§fn clone(&self) -> fasttext_prediction_t
fn clone(&self) -> fasttext_prediction_t
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for fasttext_prediction_t
impl Debug for fasttext_prediction_t
impl Copy for fasttext_prediction_t
Auto Trait Implementations§
impl RefUnwindSafe for fasttext_prediction_t
impl !Send for fasttext_prediction_t
impl !Sync for fasttext_prediction_t
impl Unpin for fasttext_prediction_t
impl UnwindSafe for fasttext_prediction_t
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