#[repr(C)]pub struct DosStub(pub [u8; 64]);
Expand description
The DOS stub program which should be executed in DOS mode. It prints the message “This program cannot be run in DOS mode” and exits.
§Position in a modern PE file
The DosStub is usually located immediately after the DosHeader and…
- De facto, can be followed by a non-standard “Rich header”.
- According to the standard, is followed by the Header::signature and then the CoffHeader.
Tuple Fields§
§0: [u8; 64]
Trait Implementations§
Source§impl<'a> TryIntoCtx<Endian> for &'a DosStub
impl<'a> TryIntoCtx<Endian> for &'a DosStub
Source§impl TryIntoCtx<Endian> for DosStub
impl TryIntoCtx<Endian> for DosStub
impl Copy for DosStub
impl StructuralPartialEq for DosStub
Auto Trait Implementations§
impl Freeze for DosStub
impl RefUnwindSafe for DosStub
impl Send for DosStub
impl Sync for DosStub
impl Unpin for DosStub
impl UnwindSafe for DosStub
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)