struct IndexAndScore {
pub index: usize,
pub score: f32,
}
Fields§
§index: usize
§score: f32
Trait Implementations§
Source§impl Clone for IndexAndScore
impl Clone for IndexAndScore
Source§fn clone(&self) -> IndexAndScore
fn clone(&self) -> IndexAndScore
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 IndexAndScore
impl Debug for IndexAndScore
Source§impl Default for IndexAndScore
impl Default for IndexAndScore
Source§fn default() -> IndexAndScore
fn default() -> IndexAndScore
Returns the “default value” for a type. Read more
impl Copy for IndexAndScore
Auto Trait Implementations§
impl Freeze for IndexAndScore
impl RefUnwindSafe for IndexAndScore
impl Send for IndexAndScore
impl Sync for IndexAndScore
impl Unpin for IndexAndScore
impl UnwindSafe for IndexAndScore
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