#[repr(C)]pub struct Segment {
pub physical_address: PAddr,
pub virtual_address: VAddr,
pub size: Bytes,
pub flags: Flags,
}
Fields§
§physical_address: PAddr
§virtual_address: VAddr
§size: Bytes
§flags: Flags
Trait Implementations§
impl Copy for Segment
Auto Trait Implementations§
impl Freeze for Segment
impl RefUnwindSafe for Segment
impl Send for Segment
impl Sync for Segment
impl Unpin for Segment
impl UnwindSafe for Segment
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