pub struct StatsRef<'a>(/* private fields */);
Expand description
Reference to a deserialized Stats.
Implementations§
Source§impl<'a> StatsRef<'a>
impl<'a> StatsRef<'a>
Sourcepub fn data(&self) -> Result<StatsDataRef<'a>>
pub fn data(&self) -> Result<StatsDataRef<'a>>
Getter for the data
field.
Trait Implementations§
Source§impl<'a> ReadAsRoot<'a> for StatsRef<'a>
impl<'a> ReadAsRoot<'a> for StatsRef<'a>
impl<'a> Copy for StatsRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for StatsRef<'a>
impl<'a> RefUnwindSafe for StatsRef<'a>
impl<'a> Send for StatsRef<'a>
impl<'a> Sync for StatsRef<'a>
impl<'a> Unpin for StatsRef<'a>
impl<'a> UnwindSafe for StatsRef<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more