pub struct SalienceThresholds {
pub low_max: i64,
pub high_min: i64,
}Expand description
Thresholds for automatic salience derivation from context.
Fields§
§low_max: i64consumer_count below this is Low (exclusive).
high_min: i64consumer_count at or above this is High.
Trait Implementations§
Source§impl Clone for SalienceThresholds
impl Clone for SalienceThresholds
Source§fn clone(&self) -> SalienceThresholds
fn clone(&self) -> SalienceThresholds
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 SalienceThresholds
impl Debug for SalienceThresholds
Source§impl Default for SalienceThresholds
impl Default for SalienceThresholds
impl Copy for SalienceThresholds
Auto Trait Implementations§
impl Freeze for SalienceThresholds
impl RefUnwindSafe for SalienceThresholds
impl Send for SalienceThresholds
impl Sync for SalienceThresholds
impl Unpin for SalienceThresholds
impl UnsafeUnpin for SalienceThresholds
impl UnwindSafe for SalienceThresholds
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