pub struct CodegenOptions {
pub test_name: String,
pub include_ipc_assertions: bool,
pub include_state_checks: bool,
pub include_timing_comments: bool,
}Expand description
Options for controlling test code generation.
Fields§
§test_name: StringName of the generated test function.
include_ipc_assertions: boolWhether to include IPC assertions after interactions.
include_state_checks: boolWhether to include state verification assertions.
include_timing_comments: boolWhether to add timing comments showing relative timestamps.
Trait Implementations§
Source§impl Clone for CodegenOptions
impl Clone for CodegenOptions
Source§fn clone(&self) -> CodegenOptions
fn clone(&self) -> CodegenOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CodegenOptions
impl Debug for CodegenOptions
Source§impl Default for CodegenOptions
impl Default for CodegenOptions
Source§impl PartialEq for CodegenOptions
impl PartialEq for CodegenOptions
Source§fn eq(&self, other: &CodegenOptions) -> bool
fn eq(&self, other: &CodegenOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CodegenOptions
impl StructuralPartialEq for CodegenOptions
Auto Trait Implementations§
impl Freeze for CodegenOptions
impl RefUnwindSafe for CodegenOptions
impl Send for CodegenOptions
impl Sync for CodegenOptions
impl Unpin for CodegenOptions
impl UnsafeUnpin for CodegenOptions
impl UnwindSafe for CodegenOptions
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