pub fn breakpoint_callback(
        self,
        callback: impl Fn(&dyn crate::Db, &Self, BreakpointRecord) + Send + Sync + 'static,
    ) -> Self {
        Self {
            breakpoint_callback: Some(Box::new(callback)),
            ..self
        }
    }
/// Builder method: invoke the given callback instead of accumulating the
/// heap graph.
Builder method: invoke the given callback instead of accumulating the
heap graph.
Builder method : invoke the given callback instead of accumulating the heap graph .
pub fn breakpoint_callback(
        self,
        callback: impl Fn(&dyn crate::Db, &Self, BreakpointRecord) + Send + Sync + 'static,
    ) -> Self {
        Self {
            breakpoint_callback: Some(Box::new(callback)),
            ..self
        }
    }
pub fn breakpoint_callback ( self , callback : impl Fn ( & dyn crate :: Db , & Self , BreakpointRecord ) + Send + Sync + ' static , ) -> Self { Self { breakpoint_callback : Some ( Box :: new ( callback ) ) , .. self } }
Builder method: invoke the given callback instead of accumulating the
heap graph.
Builder method : invoke the given callback instead of accumulating the heap graph .
self
callback
impl Fn(&dyn crate::Db, &Self, BreakpointRecord) + Send + Sync + 'static
self
callback
impl Fn(&dyn crate::Db, &Self, BreakpointRecord) + Send + Sync + 'static