Enum capnp::private::layout::CapTableBuilder
source · pub enum CapTableBuilder {
Plain(*mut Vec<Option<Box<dyn ClientHook>>>),
}
Variants§
Implementations§
source§impl CapTableBuilder
impl CapTableBuilder
pub fn into_reader(self) -> CapTableReader
pub fn extract_cap(&self, index: usize) -> Option<Box<dyn ClientHook>>
pub fn inject_cap(&mut self, cap: Box<dyn ClientHook>) -> usize
pub fn drop_cap(&mut self, index: usize)
Trait Implementations§
source§impl Clone for CapTableBuilder
impl Clone for CapTableBuilder
source§fn clone(&self) -> CapTableBuilder
fn clone(&self) -> CapTableBuilder
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