pub struct WordWeight {
pub word: String,
pub weight: f64,
}
Expand description
Word with weight
Fields§
§word: String
Word
weight: f64
Weight
Trait Implementations§
Source§impl Clone for WordWeight
impl Clone for WordWeight
Source§fn clone(&self) -> WordWeight
fn clone(&self) -> WordWeight
Returns a duplicate 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 WordWeight
impl Debug for WordWeight
Source§impl PartialEq for WordWeight
impl PartialEq for WordWeight
impl StructuralPartialEq for WordWeight
Auto Trait Implementations§
impl Freeze for WordWeight
impl RefUnwindSafe for WordWeight
impl Send for WordWeight
impl Sync for WordWeight
impl Unpin for WordWeight
impl UnwindSafe for WordWeight
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