Type Alias assembly_fdb::ro::RefHandle

source ·
pub type RefHandle<'a, T> = Handle<'a, &'a T>;
Expand description

A handle that contains a reference

Aliased Type§

struct RefHandle<'a, T> { /* private fields */ }

Implementations§

source§

impl<'a, T> RefHandle<'a, [T]>

source

pub fn get(self, index: usize) -> Option<RefHandle<'a, T>>

Get the reference at index

source§

impl<'a, T: Repr> RefHandle<'a, T>

source

pub fn map_extract(self) -> Handle<'a, T::Value>

Extract a value from a reference