pub enum EntryPoint {
Entry32 {
entry_point_address: u32,
context_id: u32,
},
Entry64 {
entry_point_address: u64,
context_id: u64,
},
}
Expand description
Entry point descriptor
Variants§
Implementations§
Source§impl EntryPoint
impl EntryPoint
Sourcepub fn entry_point_address(&self) -> u64
pub fn entry_point_address(&self) -> u64
Returns the entry point address.
Sourcepub fn context_id(&self) -> u64
pub fn context_id(&self) -> u64
Returns the context ID.
Trait Implementations§
Source§impl Clone for EntryPoint
impl Clone for EntryPoint
Source§fn clone(&self) -> EntryPoint
fn clone(&self) -> EntryPoint
Returns a duplicate 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 EntryPoint
impl Debug for EntryPoint
Source§impl PartialEq for EntryPoint
impl PartialEq for EntryPoint
impl Copy for EntryPoint
impl Eq for EntryPoint
impl StructuralPartialEq for EntryPoint
Auto Trait Implementations§
impl Freeze for EntryPoint
impl RefUnwindSafe for EntryPoint
impl Send for EntryPoint
impl Sync for EntryPoint
impl Unpin for EntryPoint
impl UnwindSafe for EntryPoint
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