Struct code_generator::IfStatement
source · pub struct IfStatement { /* private fields */ }
Implementations§
source§impl IfStatement
impl IfStatement
pub fn new<CT>(condition: CT, body: CodeBody) -> IfStatementwhere
CT: CodeGenerate + 'static,
Trait Implementations§
source§impl CodeGenerate for IfStatement
impl CodeGenerate for IfStatement
Auto Trait Implementations§
impl Freeze for IfStatement
impl !RefUnwindSafe for IfStatement
impl !Send for IfStatement
impl !Sync for IfStatement
impl Unpin for IfStatement
impl !UnwindSafe for IfStatement
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