[][src]Struct qt_core::q_file_device::MemoryMapFlags

#[repr(transparent)]pub struct MemoryMapFlags(_);

This enum describes special options that may be used by the map() function.

C++ enum: QFileDevice::MemoryMapFlags.

C++ documentation:

This enum describes special options that may be used by the map() function.

This enum was introduced or modified in Qt 4.4.

Methods

impl MemoryMapFlags[src]

pub fn to_int(&self) -> c_int[src]

impl MemoryMapFlags[src]

pub const NoOptions: MemoryMapFlags[src]

No options. (C++ enum variant: NoOptions = 0)

pub const MapPrivateOption: MemoryMapFlags[src]

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

impl Clone for MemoryMapFlags[src]

impl Copy for MemoryMapFlags[src]

impl Debug for MemoryMapFlags[src]

impl Eq for MemoryMapFlags[src]

impl From<MemoryMapFlags> for c_int[src]

impl From<i32> for MemoryMapFlags[src]

impl PartialEq<MemoryMapFlags> for MemoryMapFlags[src]

impl StructuralEq for MemoryMapFlags[src]

impl StructuralPartialEq for MemoryMapFlags[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.