Struct egui_memory_editor::option_data::MemoryEditorOptions [−][src]
pub struct MemoryEditorOptions { pub is_open: bool, pub show_ascii_sidebar: bool, pub show_zero_colour: bool, pub data_preview_options: DataPreviewOptions, pub column_count: usize, pub zero_colour: Color32, pub address_text_colour: Color32, pub highlight_colour: Color32, pub memory_editor_text_style: TextStyle, pub memory_editor_address_text_style: TextStyle, pub memory_editor_ascii_text_style: TextStyle, // some fields omitted }
Fields
is_open: bool
Used to check if the window is open, if you don’t use the crate::MemoryEditor::window_ui
call then this is irrelevant.
Whether to show the ASCII representation of all the u8
values in the main UI.
show_zero_colour: bool
Whether 0x00
values in the main UI should use the MemoryEditorOptions::zero_colour
.
data_preview_options: DataPreviewOptions
The options which determine how to interpret selected data, concerning endianness and number type.
column_count: usize
The amount of columns for the main UI, this amount directly impacts the possible size of your address space.
At the moment, you’ll at most be able to display the range: 0..2^(24 + log_2(column_count))
.
zero_colour: Color32
A custom colour for 0x00
. By default will be grey.
address_text_colour: Color32
The colour for address indicators on the very left of the UI.
highlight_colour: Color32
The highlight colour for both the main UI and the ASCII sidebar.
This will be enabled when you right-click an address, or when using the goto address
function in the UI.
memory_editor_text_style: TextStyle
The [egui::TextStyle
] for the main UI, indicating the values.
Default is [egui::TextStyle::Monospace
]
memory_editor_address_text_style: TextStyle
The [egui::TextStyle
] for the addresses in the main UI on the left.
Default is [egui::TextStyle::Monospace
]
memory_editor_ascii_text_style: TextStyle
The [egui::TextStyle
] for the ASCII values in the right side-bar (if they’re enabled).
Default is [egui::TextStyle::Monospace
]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MemoryEditorOptions
impl Send for MemoryEditorOptions
impl Sync for MemoryEditorOptions
impl Unpin for MemoryEditorOptions
impl UnwindSafe for MemoryEditorOptions
Blanket Implementations
Mutably borrows from an owned value. Read more