Enum capnp::private::layout::CapTableReader
source · pub enum CapTableReader {
Plain(*const Vec<Option<Box<dyn ClientHook>>>),
}
Variants§
Implementations§
source§impl CapTableReader
impl CapTableReader
pub fn extract_cap(&self, index: usize) -> Option<Box<dyn ClientHook>>
Trait Implementations§
source§impl Clone for CapTableReader
impl Clone for CapTableReader
source§fn clone(&self) -> CapTableReader
fn clone(&self) -> CapTableReader
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more