Skip to main content

MemoryEditor

Struct MemoryEditor 

Source
#[repr(C)]
pub struct MemoryEditor {
Show 26 fields pub Open: bool, pub ReadOnly: bool, pub Cols: c_int, pub OptShowOptions: bool, pub OptShowDataPreview: bool, pub OptShowHexII: bool, pub OptShowAscii: bool, pub OptGreyOutZeroes: bool, pub OptUpperCaseHex: bool, pub OptMidColsCount: c_int, pub OptAddrDigitsCount: c_int, pub HighlightColor: ImU32, pub ReadFn: Option<unsafe extern "C" fn(data: *const ImU8, off: usize) -> ImU8>, pub WriteFn: Option<unsafe extern "C" fn(data: *mut ImU8, off: usize, d: ImU8)>, pub HighlightFn: Option<unsafe extern "C" fn(data: *const ImU8, off: usize) -> bool>, pub ContentsWidthChanged: bool, pub DataPreviewAddr: usize, pub DataEditingAddr: usize, pub DataEditingTakeFocus: bool, pub DataInputBuf: [c_char; 32], pub AddrInputBuf: [c_char; 32], pub GotoAddr: usize, pub HighlightMin: usize, pub HighlightMax: usize, pub PreviewEndianess: c_int, pub PreviewDataType: ImGuiDataType,
}

Fields§

§Open: bool§ReadOnly: bool§Cols: c_int§OptShowOptions: bool§OptShowDataPreview: bool§OptShowHexII: bool§OptShowAscii: bool§OptGreyOutZeroes: bool§OptUpperCaseHex: bool§OptMidColsCount: c_int§OptAddrDigitsCount: c_int§HighlightColor: ImU32§ReadFn: Option<unsafe extern "C" fn(data: *const ImU8, off: usize) -> ImU8>§WriteFn: Option<unsafe extern "C" fn(data: *mut ImU8, off: usize, d: ImU8)>§HighlightFn: Option<unsafe extern "C" fn(data: *const ImU8, off: usize) -> bool>§ContentsWidthChanged: bool§DataPreviewAddr: usize§DataEditingAddr: usize§DataEditingTakeFocus: bool§DataInputBuf: [c_char; 32]§AddrInputBuf: [c_char; 32]§GotoAddr: usize§HighlightMin: usize§HighlightMax: usize§PreviewEndianess: c_int§PreviewDataType: ImGuiDataType

Trait Implementations§

Source§

impl Clone for MemoryEditor

Source§

fn clone(&self) -> MemoryEditor

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for MemoryEditor

Source§

impl Debug for MemoryEditor

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for MemoryEditor

Source§

fn default() -> MemoryEditor

Returns the “default value” for a type. Read more
Source§

impl Eq for MemoryEditor

Source§

impl Hash for MemoryEditor

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for MemoryEditor

Source§

fn eq(&self, other: &MemoryEditor) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for MemoryEditor

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.