Struct capnpc::codegen::GeneratorContext
source · pub struct GeneratorContext<'a> {
pub request: Reader<'a>,
pub node_map: HashMap<u64, Reader<'a>>,
pub scope_map: HashMap<u64, Vec<String>>,
}
Fields
request: Reader<'a>
node_map: HashMap<u64, Reader<'a>>
scope_map: HashMap<u64, Vec<String>>
Implementations
sourceimpl<'a> GeneratorContext<'a>
impl<'a> GeneratorContext<'a>
pub fn new(message: &'a Reader<OwnedSegments>) -> Result<GeneratorContext<'a>>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for GeneratorContext<'a>
impl<'a> !Send for GeneratorContext<'a>
impl<'a> !Sync for GeneratorContext<'a>
impl<'a> Unpin for GeneratorContext<'a>
impl<'a> !UnwindSafe for GeneratorContext<'a>
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