Skip to main content

WithCtxMut

Trait WithCtxMut 

Source
pub trait WithCtxMut<'s, 'str: 's>: WithCtx<'s, 's, 'str> {
    // Required method
    fn ctx_mut(&'s mut self) -> &'s mut Context<'str>;
}

Required Methods§

Source

fn ctx_mut(&'s mut self) -> &'s mut Context<'str>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<'s, 'ctx: 's, 'str: 'ctx> WithCtxMut<'s, 'str> for BlockMutRef<'str, 'ctx>

Source§

impl<'s, 'ctx: 's, 'str: 'ctx> WithCtxMut<'s, 'str> for BlockParamMutRef<'str, 'ctx>

Source§

impl<'s, 'ctx: 's, 'str: 'ctx> WithCtxMut<'s, 'str> for FunctionMutRef<'str, 'ctx>

Source§

impl<'s, 'ctx: 's, 'str: 'ctx> WithCtxMut<'s, 'str> for InstructionMutRef<'str, 'ctx>