RecordRef::get
Get a reference to a particular record type.
Usually paired with if let Some(...) or with has.
Returns
Option<&'a T
A reference to the underlying record of type T or None if the RecordRef points to another type.
API method
pub fn get<T: HasRType>(&self) -> Option<&'a T>;