pub struct Ref<'b, T> where T: 'b {
// some fields omitted
}
Wraps a borrowed reference to a value in a RefCell
box.
A wrapper type for an immutably borrowed value from a RefCell<T>
.
See the module-level documentation for more.
Trait Implementations
impl<'b, T> Deref for Ref<'b, T>
type Target = T
fn deref(&'a self) -> &'a T
impl<'b, T> Debug for Ref<'b, T> where T: Debug
Keyboard shortcuts
- ?
- Show this help dialog
- S
- Focus the search field
- ⇤
- Move up in search results
- ⇥
- Move down in search results
- ⏎
- Go to active search result
Search tricks
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).