pub struct FixedScoreRule {
pub score: Scalar,
}Expand description
Bucket rule that always gives specified score.
Fields§
§score: ScalarScore value.
Implementations§
Trait Implementations§
Source§impl Clone for FixedScoreRule
impl Clone for FixedScoreRule
Source§fn clone(&self) -> FixedScoreRule
fn clone(&self) -> FixedScoreRule
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 moreAuto Trait Implementations§
impl Freeze for FixedScoreRule
impl RefUnwindSafe for FixedScoreRule
impl Send for FixedScoreRule
impl Sync for FixedScoreRule
impl Unpin for FixedScoreRule
impl UnwindSafe for FixedScoreRule
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