Enum opencv::core::FileStorage_Mode
source · #[repr(C)]pub enum FileStorage_Mode {
READ,
WRITE,
APPEND,
MEMORY,
FORMAT_MASK,
FORMAT_XML,
FORMAT_YAML,
FORMAT_JSON,
BASE64,
WRITE_BASE64,
}
Expand description
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§
source§impl Clone for FileStorage_Mode
impl Clone for FileStorage_Mode
source§fn clone(&self) -> FileStorage_Mode
fn clone(&self) -> FileStorage_Mode
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 FileStorage_Mode
impl Debug for FileStorage_Mode
source§impl PartialEq<FileStorage_Mode> for FileStorage_Mode
impl PartialEq<FileStorage_Mode> for FileStorage_Mode
source§fn eq(&self, other: &FileStorage_Mode) -> bool
fn eq(&self, other: &FileStorage_Mode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FileStorage_Mode
impl Eq for FileStorage_Mode
impl StructuralEq for FileStorage_Mode
impl StructuralPartialEq for FileStorage_Mode
Auto Trait Implementations§
impl RefUnwindSafe for FileStorage_Mode
impl Send for FileStorage_Mode
impl Sync for FileStorage_Mode
impl Unpin for FileStorage_Mode
impl UnwindSafe for FileStorage_Mode
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