Struct Descriptor
pub struct Descriptor {
pub top: PhysAddr,
pub size: NonZero<usize>,
pub entry: extern "C" fn(*mut c_void),
pub ctx: *mut c_void,
pub fin: Option<extern "C" fn() -> !>,
}Fields§
§top: PhysAddr§size: NonZero<usize>§entry: extern "C" fn(*mut c_void)§ctx: *mut c_void§fin: Option<extern "C" fn() -> !>Auto Trait Implementations§
impl Freeze for Descriptor
impl RefUnwindSafe for Descriptor
impl !Send for Descriptor
impl !Sync for Descriptor
impl Unpin for Descriptor
impl UnsafeUnpin for Descriptor
impl UnwindSafe for Descriptor
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