pub struct DefaultStrategy;Expand description
Default strategy — uniform value 1.0 for all nodes.
Trait Implementations§
Source§impl TrimStrategy for DefaultStrategy
impl TrimStrategy for DefaultStrategy
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 DefaultStrategy
impl RefUnwindSafe for DefaultStrategy
impl Send for DefaultStrategy
impl Sync for DefaultStrategy
impl Unpin for DefaultStrategy
impl UnsafeUnpin for DefaultStrategy
impl UnwindSafe for DefaultStrategy
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