pub struct MemoryMapFlags(/* private fields */);
Expand description
Implementations§
Source§impl MemoryMapFlags
impl MemoryMapFlags
Sourcepub const NoOptions: MemoryMapFlags
pub const NoOptions: MemoryMapFlags
No options. (C++ enum variant: NoOptions = 0
)
Sourcepub const MapPrivateOption: MemoryMapFlags
pub const MapPrivateOption: MemoryMapFlags
The mapped memory will be private, so any modifications will not be visible to other processes and will not be written to disk. Any such modifications will be lost when the memory is unmapped. It is unspecified whether modifications made to the file made after the mapping is created will be visible through the mapped memory. This enum value was introduced in Qt 5.4. (C++ enum variant: MapPrivateOption = 1
)
Trait Implementations§
Source§impl Clone for MemoryMapFlags
impl Clone for MemoryMapFlags
Source§fn clone(&self) -> MemoryMapFlags
fn clone(&self) -> MemoryMapFlags
Returns a copy of the value. Read more
1.0.0 · 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 MemoryMapFlags
impl Debug for MemoryMapFlags
Source§impl From<MemoryMapFlags> for c_int
impl From<MemoryMapFlags> for c_int
Source§fn from(value: MemoryMapFlags) -> Self
fn from(value: MemoryMapFlags) -> Self
Converts to this type from the input type.
Source§impl From<i32> for MemoryMapFlags
impl From<i32> for MemoryMapFlags
Source§impl PartialEq for MemoryMapFlags
impl PartialEq for MemoryMapFlags
impl Copy for MemoryMapFlags
impl Eq for MemoryMapFlags
impl StructuralPartialEq for MemoryMapFlags
Auto Trait Implementations§
impl Freeze for MemoryMapFlags
impl RefUnwindSafe for MemoryMapFlags
impl Send for MemoryMapFlags
impl Sync for MemoryMapFlags
impl Unpin for MemoryMapFlags
impl UnwindSafe for MemoryMapFlags
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