pub struct HFILEMAPVIEW(/* private fields */);
Available on crate feature
kernel
only.Expand description
Address of a
mapped view.
Originally just an LPVOID
.
Unless you need something specific, consider using the
FileMapped
high-level abstraction.
Trait Implementations§
Source§impl Debug for HFILEMAPVIEW
impl Debug for HFILEMAPVIEW
Source§impl Display for HFILEMAPVIEW
impl Display for HFILEMAPVIEW
Source§impl Handle for HFILEMAPVIEW
impl Handle for HFILEMAPVIEW
Source§unsafe fn from_ptr(p: *mut c_void) -> Self
unsafe fn from_ptr(p: *mut c_void) -> Self
Creates a new handle object by wrapping a pointer. Read more
Source§unsafe fn as_mut(&mut self) -> &mut *mut c_void
unsafe fn as_mut(&mut self) -> &mut *mut c_void
Returns a mutable reference to the underlying raw pointer. Read more
Source§impl Hash for HFILEMAPVIEW
impl Hash for HFILEMAPVIEW
Source§impl LowerHex for HFILEMAPVIEW
impl LowerHex for HFILEMAPVIEW
Source§impl PartialEq for HFILEMAPVIEW
impl PartialEq for HFILEMAPVIEW
Source§impl UpperHex for HFILEMAPVIEW
impl UpperHex for HFILEMAPVIEW
Source§impl kernel_Hfilemapview for HFILEMAPVIEW
impl kernel_Hfilemapview for HFILEMAPVIEW
Source§fn as_mut_slice(&self, len: usize) -> &mut [u8] ⓘ
fn as_mut_slice(&self, len: usize) -> &mut [u8] ⓘ
Returns a slice representing the mapped memory. You can modify the
contents. You should call this method only if the file has write access. Read more
Source§fn as_slice(&self, len: usize) -> &[u8] ⓘ
fn as_slice(&self, len: usize) -> &[u8] ⓘ
Returns a slice representing the mapped memory. Read more
Source§fn FlushViewOfFile(
&self,
start_at_byte: usize,
num_bytes: usize,
) -> SysResult<()>
fn FlushViewOfFile( &self, start_at_byte: usize, num_bytes: usize, ) -> SysResult<()>
FlushViewOfFile
function.impl Eq for HFILEMAPVIEW
impl Send for HFILEMAPVIEW
impl StructuralPartialEq for HFILEMAPVIEW
Auto Trait Implementations§
impl Freeze for HFILEMAPVIEW
impl RefUnwindSafe for HFILEMAPVIEW
impl !Sync for HFILEMAPVIEW
impl Unpin for HFILEMAPVIEW
impl UnwindSafe for HFILEMAPVIEW
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