{"ast_node_type":"function","tokens":[{"end":67,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn with_lock<F: FnOnce(&mut T) -> R, R>(&self, f: F) -> R {
    #[track_caller]
        f(&mut *self.lock())