pub struct AddressReference {
pub name: String,
pub offset: Address,
}
Fields§
§name: String
§offset: Address
Implementations§
Source§impl AddressReference
impl AddressReference
pub fn new(name: &str) -> AddressReference
pub fn with_offset(name: &str, offset: Address) -> AddressReference
Trait Implementations§
Source§impl Clone for AddressReference
impl Clone for AddressReference
Source§fn clone(&self) -> AddressReference
fn clone(&self) -> AddressReference
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AddressReference
impl Debug for AddressReference
Source§impl PartialEq for AddressReference
impl PartialEq for AddressReference
impl StructuralPartialEq for AddressReference
Auto Trait Implementations§
impl Freeze for AddressReference
impl RefUnwindSafe for AddressReference
impl Send for AddressReference
impl Sync for AddressReference
impl Unpin for AddressReference
impl UnwindSafe for AddressReference
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