Struct qt_core::q_file_device::MemoryMapFlags
source · 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
source§fn eq(&self, other: &MemoryMapFlags) -> bool
fn eq(&self, other: &MemoryMapFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MemoryMapFlags
impl Eq for MemoryMapFlags
impl StructuralEq for MemoryMapFlags
impl StructuralPartialEq for MemoryMapFlags
Auto Trait Implementations§
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