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.

show_ascii_sidebar: bool

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]

impl Debug for MemoryEditorOptions[src]

impl Default for MemoryEditorOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.