pub struct Varnode {
pub space: AddressSpaceId,
pub offset: u64,
pub size: u32,
}Expand description
A triple (space, offset, size) identifying a storage location or constant.
Ord is derived for use as BTreeMap keys in the peephole optimizer.
The derived lexicographic ordering is not semantically meaningful.
Fields§
§space: AddressSpaceId§offset: u64§size: u32Size in bytes.
Implementations§
Trait Implementations§
Source§impl Ord for Varnode
impl Ord for Varnode
Source§impl PartialOrd for Varnode
impl PartialOrd for Varnode
impl Copy for Varnode
impl Eq for Varnode
impl StructuralPartialEq for Varnode
Auto Trait Implementations§
impl Freeze for Varnode
impl RefUnwindSafe for Varnode
impl Send for Varnode
impl Sync for Varnode
impl Unpin for Varnode
impl UnsafeUnpin for Varnode
impl UnwindSafe for Varnode
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