pub struct HandlerCodegenConfig {
pub inline_context_methods: bool,
pub bounds_checking: bool,
}Expand description
Configuration for handler code generation.
Fields§
§inline_context_methods: boolWhether to inline context method calls.
bounds_checking: boolWhether to generate bounds checking.
Implementations§
Source§impl HandlerCodegenConfig
impl HandlerCodegenConfig
Sourcepub fn without_inlining(self) -> Self
pub fn without_inlining(self) -> Self
Disable context method inlining.
Sourcepub fn without_bounds_checking(self) -> Self
pub fn without_bounds_checking(self) -> Self
Disable bounds checking.
Trait Implementations§
Source§impl Clone for HandlerCodegenConfig
impl Clone for HandlerCodegenConfig
Source§fn clone(&self) -> HandlerCodegenConfig
fn clone(&self) -> HandlerCodegenConfig
Returns a duplicate 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 moreSource§impl Debug for HandlerCodegenConfig
impl Debug for HandlerCodegenConfig
Source§impl Default for HandlerCodegenConfig
impl Default for HandlerCodegenConfig
Source§fn default() -> HandlerCodegenConfig
fn default() -> HandlerCodegenConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HandlerCodegenConfig
impl RefUnwindSafe for HandlerCodegenConfig
impl Send for HandlerCodegenConfig
impl Sync for HandlerCodegenConfig
impl Unpin for HandlerCodegenConfig
impl UnwindSafe for HandlerCodegenConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more