Enum capnp::private::layout::CapTableReader
source · pub enum CapTableReader {
Plain(*const Vec<Option<Box<dyn ClientHook>>>),
}
Variants
Plain(*const Vec<Option<Box<dyn ClientHook>>>)
Implementations
sourceimpl CapTableReader
impl CapTableReader
pub fn extract_cap(&self, index: usize) -> Option<Box<dyn ClientHook>>
Trait Implementations
sourceimpl Clone for CapTableReader
impl Clone for CapTableReader
sourcefn clone(&self) -> CapTableReader
fn clone(&self) -> CapTableReader
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for CapTableReader
Auto Trait Implementations
impl !RefUnwindSafe for CapTableReader
impl !Send for CapTableReader
impl !Sync for CapTableReader
impl Unpin for CapTableReader
impl !UnwindSafe for CapTableReader
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more