[][src]Struct opencv::core::FileStorage

pub struct FileStorage { /* fields omitted */ }

XML/YAML/JSON file storage class that encapsulates all the information necessary for writing or reading data to/from a file.

Implementations

impl FileStorage[src]

impl FileStorage[src]

pub fn default() -> Result<FileStorage>[src]

The constructors.

The full constructor opens the file. Alternatively you can use the default constructor and then call FileStorage::open.

pub fn new(filename: &str, flags: i32, encoding: &str) -> Result<FileStorage>[src]

The constructors.

The full constructor opens the file. Alternatively you can use the default constructor and then call FileStorage::open.

Overloaded parameters

 @copydoc open()

C++ default parameters

  • encoding: String()

pub fn get_default_object_name(filename: &str) -> Result<String>[src]

Returns the normalized object name for the specified name of a file.

Parameters

  • filename: Name of a file

Returns

The normalized object name.

Trait Implementations

impl Boxed for FileStorage[src]

impl Drop for FileStorage[src]

impl FileStorageTrait for FileStorage[src]

impl Send for FileStorage[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, 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.