pub struct PruningConfig<'a, Id, C>where
Id: Copy,
C: PruningContext<Id>,{
pub context: &'a C,
pub budgets: Budgets,
pub min_k: usize,
pub must_keep: Option<MustKeep<'a>>,
/* private fields */
}Fields§
§context: &'a C§budgets: Budgets§min_k: usize§must_keep: Option<MustKeep<'a>>Implementations§
Auto Trait Implementations§
impl<'a, Id, C> Freeze for PruningConfig<'a, Id, C>
impl<'a, Id, C> RefUnwindSafe for PruningConfig<'a, Id, C>where
C: RefUnwindSafe,
Id: RefUnwindSafe,
impl<'a, Id, C> Send for PruningConfig<'a, Id, C>
impl<'a, Id, C> Sync for PruningConfig<'a, Id, C>
impl<'a, Id, C> Unpin for PruningConfig<'a, Id, C>where
Id: Unpin,
impl<'a, Id, C> UnwindSafe for PruningConfig<'a, Id, C>where
C: RefUnwindSafe,
Id: UnwindSafe,
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