Struct limine_protocol::requests::EntryPointRequest
source · [−]#[repr(C)]pub struct EntryPointRequest {
pub id: [u64; 4],
pub revision: u64,
pub response: Option<NonNull<EntryPointResponse>>,
pub entry: Option<*mut ()>,
}Expand description
Request the bootloader use the specified entry point instead of the default one
Fields
id: [u64; 4]ID Array
revision: u64Revision numbers
response: Option<NonNull<EntryPointResponse>>Response pointer
entry: Option<*mut ()>Function to the entry point
Implementations
sourceimpl EntryPointRequest
impl EntryPointRequest
sourcepub const ID: [u64; 4] = [COMMON_MAGIC[0], COMMON_MAGIC[1], 1430011643342672865, 3102041752378475114]
pub const ID: [u64; 4] = [COMMON_MAGIC[0], COMMON_MAGIC[1], 1430011643342672865, 3102041752378475114]
The ID of the request
sourcepub fn new() -> EntryPointRequest
pub fn new() -> EntryPointRequest
Return a new instance of the item with the correct ID values
sourcepub const fn into_request(self) -> LimineRequest<Self>
pub const fn into_request(self) -> LimineRequest<Self>
Convert the request into a LimineRequest
Trait Implementations
sourceimpl Debug for EntryPointRequest
impl Debug for EntryPointRequest
sourceimpl Default for EntryPointRequest
impl Default for EntryPointRequest
sourcefn default() -> EntryPointRequest
fn default() -> EntryPointRequest
Returns the “default value” for a type. Read more
impl LimineRequestMarker for EntryPointRequest
Auto Trait Implementations
impl RefUnwindSafe for EntryPointRequest
impl !Send for EntryPointRequest
impl !Sync for EntryPointRequest
impl Unpin for EntryPointRequest
impl UnwindSafe for EntryPointRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more