pub struct SizeProportionalStrategy;Expand description
Size-proportional trimming for diffs — value weighted by file type.
Trait Implementations§
Source§impl TrimStrategy for SizeProportionalStrategy
impl TrimStrategy for SizeProportionalStrategy
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 SizeProportionalStrategy
impl RefUnwindSafe for SizeProportionalStrategy
impl Send for SizeProportionalStrategy
impl Sync for SizeProportionalStrategy
impl Unpin for SizeProportionalStrategy
impl UnsafeUnpin for SizeProportionalStrategy
impl UnwindSafe for SizeProportionalStrategy
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