pub struct ExplorerConfig {
pub use_color: bool,
pub max_width: usize,
pub show_line_numbers: bool,
pub show_register_types: bool,
pub show_instruction_latency: bool,
}Expand description
Configuration for the PTX explorer rendering engine.
Fields§
§use_color: boolWhether to emit ANSI color codes in output.
max_width: usizeMaximum output width in columns.
show_line_numbers: boolWhether to show line numbers alongside instructions.
show_register_types: boolWhether to annotate registers with their types.
show_instruction_latency: boolWhether to show estimated instruction latency.
Trait Implementations§
Source§impl Clone for ExplorerConfig
impl Clone for ExplorerConfig
Source§fn clone(&self) -> ExplorerConfig
fn clone(&self) -> ExplorerConfig
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 ExplorerConfig
impl Debug for ExplorerConfig
Auto Trait Implementations§
impl Freeze for ExplorerConfig
impl RefUnwindSafe for ExplorerConfig
impl Send for ExplorerConfig
impl Sync for ExplorerConfig
impl Unpin for ExplorerConfig
impl UnsafeUnpin for ExplorerConfig
impl UnwindSafe for ExplorerConfig
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