pub struct ElementCountStrategy;Expand description
Element count trimming — decreasing value by position.
Trait Implementations§
Source§impl TrimStrategy for ElementCountStrategy
impl TrimStrategy for ElementCountStrategy
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 ElementCountStrategy
impl RefUnwindSafe for ElementCountStrategy
impl Send for ElementCountStrategy
impl Sync for ElementCountStrategy
impl Unpin for ElementCountStrategy
impl UnsafeUnpin for ElementCountStrategy
impl UnwindSafe for ElementCountStrategy
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