[][src]Enum opencv::core::FileStorage_Mode

#[repr(C)]pub enum FileStorage_Mode {
    READ,
    WRITE,
    APPEND,
    MEMORY,
    FORMAT_MASK,
    FORMAT_XML,
    FORMAT_YAML,
    FORMAT_JSON,
    BASE64,
    WRITE_BASE64,
}

file storage mode

Variants

READ

value, open the file for reading

WRITE

value, open the file for writing

APPEND

value, open the file for appending

MEMORY

flag, read data from source or write data to the internal buffer (which is returned by FileStorage::release)

FORMAT_MASK

mask for format flags

FORMAT_XML

flag, XML format

FORMAT_YAML

flag, YAML format

FORMAT_JSON

flag, JSON format

BASE64

flag, write rawdata in Base64 by default. (consider using WRITE_BASE64)

WRITE_BASE64

flag, enable both WRITE and BASE64

Trait Implementations

impl Clone for FileStorage_Mode[src]

impl Copy for FileStorage_Mode[src]

impl Debug for FileStorage_Mode[src]

impl PartialEq<FileStorage_Mode> for FileStorage_Mode[src]

impl StructuralPartialEq for FileStorage_Mode[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> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<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.