Struct egui_memory_editor::option_data::MemoryEditorOptions [−][src]
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
impl Clone for MemoryEditorOptions
[src]
fn clone(&self) -> MemoryEditorOptions
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for MemoryEditorOptions
[src]
impl Default for MemoryEditorOptions
[src]
Auto Trait Implementations
impl RefUnwindSafe for MemoryEditorOptions
[src]
impl Send for MemoryEditorOptions
[src]
impl Sync for MemoryEditorOptions
[src]
impl Unpin for MemoryEditorOptions
[src]
impl UnwindSafe for MemoryEditorOptions
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,