pub(crate) fn write(&self, filename: &Path, heap: &Heap) -> Option<anyhow::Result<()>> {
        if !self.enabled {
            None
        } else {
            Some(Self::write_enabled(filename, heap))
        }
    }
// We could expose profile on the Heap, but it's an implementation detail that it works here.
We could expose profile on the Heap, but it's an implementation detail that it works here.
We could expose profile on the Heap but it ' s an implementation detail that it works here .
pub(crate) fn write(&self, filename: &Path, heap: &Heap) -> Option<anyhow::Result<()>> {
        if !self.enabled {
            None
        } else {
            Some(Self::write_enabled(filename, heap))
        }
    }
pub ( crate ) fn write ( & self , filename : & Path , heap : & Heap ) -> Option < anyhow :: Result < ( ) > > { if ! self . enabled { None } else { Some ( Self :: write_enabled ( filename , heap ) ) } }
We could expose profile on the Heap, but it's an implementation detail that it works here.
We could expose profile on the Heap but it ' s an implementation detail that it works here .
&self
filename
&Path
heap
&Heap
&self
filename
&Path
heap
&Heap