pub struct ThreadLevelStrategy;Expand description
Thread-level trimming for discussions. resolved=0.3, unresolved=1.0; first+last comment always get value boost.
Trait Implementations§
Source§impl TrimStrategy for ThreadLevelStrategy
impl TrimStrategy for ThreadLevelStrategy
Source§fn assign_values(&self, tree: &mut TrimNode)
fn assign_values(&self, tree: &mut TrimNode)
Assign value scores to all nodes in the tree.
Auto Trait Implementations§
impl Freeze for ThreadLevelStrategy
impl RefUnwindSafe for ThreadLevelStrategy
impl Send for ThreadLevelStrategy
impl Sync for ThreadLevelStrategy
impl Unpin for ThreadLevelStrategy
impl UnsafeUnpin for ThreadLevelStrategy
impl UnwindSafe for ThreadLevelStrategy
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