pub struct TdgTdiMmioAcceptR9(/* private fields */);Expand description
R9 (RANGE_SIZE_OFFSET) input to TDG.TDI.MMIO.ACCEPT. Also the remaining
size/offset returned in R9 on resume (once the R9 output path is plumbed).
Implementations§
Source§impl TdgTdiMmioAcceptR9
impl TdgTdiMmioAcceptR9
Sourcepub const fn range_size(&self) -> u32
pub const fn range_size(&self) -> u32
Number of pages to accept.
Bits: 0..32
Sourcepub const fn with_range_size_checked(self, value: u32) -> Result<Self, ()>
pub const fn with_range_size_checked(self, value: u32) -> Result<Self, ()>
Number of pages to accept.
Bits: 0..32
Sourcepub const fn with_range_size(self, value: u32) -> Self
pub const fn with_range_size(self, value: u32) -> Self
Number of pages to accept.
Bits: 0..32
Sourcepub const fn set_range_size(&mut self, value: u32)
pub const fn set_range_size(&mut self, value: u32)
Number of pages to accept.
Bits: 0..32
Sourcepub const fn set_range_size_checked(&mut self, value: u32) -> Result<(), ()>
pub const fn set_range_size_checked(&mut self, value: u32) -> Result<(), ()>
Number of pages to accept.
Bits: 0..32
Sourcepub const fn range_offset(&self) -> u32
pub const fn range_offset(&self) -> u32
Starting sub-range offset, in pages.
Bits: 32..64
Sourcepub const fn with_range_offset_checked(self, value: u32) -> Result<Self, ()>
pub const fn with_range_offset_checked(self, value: u32) -> Result<Self, ()>
Starting sub-range offset, in pages.
Bits: 32..64
Sourcepub const fn with_range_offset(self, value: u32) -> Self
pub const fn with_range_offset(self, value: u32) -> Self
Starting sub-range offset, in pages.
Bits: 32..64
Sourcepub const fn set_range_offset(&mut self, value: u32)
pub const fn set_range_offset(&mut self, value: u32)
Starting sub-range offset, in pages.
Bits: 32..64
Trait Implementations§
Source§impl Clone for TdgTdiMmioAcceptR9
impl Clone for TdgTdiMmioAcceptR9
Source§fn clone(&self) -> TdgTdiMmioAcceptR9
fn clone(&self) -> TdgTdiMmioAcceptR9
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TdgTdiMmioAcceptR9
impl Debug for TdgTdiMmioAcceptR9
Source§impl Default for TdgTdiMmioAcceptR9
impl Default for TdgTdiMmioAcceptR9
Source§impl From<TdgTdiMmioAcceptR9> for u64
impl From<TdgTdiMmioAcceptR9> for u64
Source§fn from(v: TdgTdiMmioAcceptR9) -> u64
fn from(v: TdgTdiMmioAcceptR9) -> u64
Converts to this type from the input type.
Source§impl From<u64> for TdgTdiMmioAcceptR9
impl From<u64> for TdgTdiMmioAcceptR9
impl Copy for TdgTdiMmioAcceptR9
Auto Trait Implementations§
impl Freeze for TdgTdiMmioAcceptR9
impl RefUnwindSafe for TdgTdiMmioAcceptR9
impl Send for TdgTdiMmioAcceptR9
impl Sync for TdgTdiMmioAcceptR9
impl Unpin for TdgTdiMmioAcceptR9
impl UnsafeUnpin for TdgTdiMmioAcceptR9
impl UnwindSafe for TdgTdiMmioAcceptR9
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