macro_rules! impl_rfc_borrow_call {
($field:ident, $method:ident) => { ... };
($field:ident, $method:ident, $return_type:ty) => { ... };
($field:ident, $method:ident, $($param_name:ident: param_type:ty,)*) => { ... };
($field:ident, $method:ident, $return_type:ty, $($param_name:ident: param_type:ty,)*) => { ... };
}
Expand description
Calls borrow on a RefCelled field and calls a method on the returned Ref. Don’t try to return a reference though (It wont work).