pub fn breakpoint_callback(
        self,
        callback: impl Fn(&dyn crate::Db, &mut Self, BreakpointRecord) + Send + Sync + 'static,
    ) -> Self {
        Self {
            breakpoint_callback: Some(Arc::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, &mut Self, BreakpointRecord) + Send + Sync + 'static,
    ) -> Self {
        Self {
            breakpoint_callback: Some(Arc::new(callback)),
            ..self
        }
    }
pub fn breakpoint_callback ( self , callback : impl Fn ( & dyn crate :: Db , & mut Self , BreakpointRecord ) + Send + Sync + ' static , ) -> Self { Self { breakpoint_callback : Some ( Arc :: 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, &mut Self, BreakpointRecord) + Send + Sync + 'static
self
callback
impl Fn(&dyn crate::Db, &mut Self, BreakpointRecord) + Send + Sync + 'static