pub struct ScoringSpec {
pub base: f32,
pub priority: i32,
}Fields§
§base: f32§priority: i32Trait Implementations§
Source§impl Clone for ScoringSpec
impl Clone for ScoringSpec
Source§fn clone(&self) -> ScoringSpec
fn clone(&self) -> ScoringSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ScoringSpec
impl Debug for ScoringSpec
Source§impl PartialEq for ScoringSpec
impl PartialEq for ScoringSpec
Source§fn eq(&self, other: &ScoringSpec) -> bool
fn eq(&self, other: &ScoringSpec) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ScoringSpec
Auto Trait Implementations§
impl Freeze for ScoringSpec
impl RefUnwindSafe for ScoringSpec
impl Send for ScoringSpec
impl Sync for ScoringSpec
impl Unpin for ScoringSpec
impl UnsafeUnpin for ScoringSpec
impl UnwindSafe for ScoringSpec
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