pub fn new(filename: &str, flags: i32, encoding: &str) -> Result<core::FileStorage> {
		string_arg!(filename);
		string_arg!(encoding);
		unsafe { sys::cv_FileStorage_FileStorage_const_StringX_int_const_StringX(filename.as_ptr(), flags, encoding.as_ptr()) }.into_result().map(|ptr| unsafe { core::FileStorage::from_raw(ptr) })
	}
/// 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()
The constructors.
The full constructor opens the file. Alternatively you can use the default constructor and then
call FileStorage::open.
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<core::FileStorage> {
		string_arg!(filename);
		string_arg!(encoding);
		unsafe { sys::cv_FileStorage_FileStorage_const_StringX_int_const_StringX(filename.as_ptr(), flags, encoding.as_ptr()) }.into_result().map(|ptr| unsafe { core::FileStorage::from_raw(ptr) })
	}
pub fn new ( filename : & str , flags : i32 , encoding : & str ) -> Result < core :: FileStorage > { string_arg ! ( filename ) ; string_arg ! ( encoding ) ; unsafe { sys :: cv_FileStorage_FileStorage_const_StringX_int_const_StringX ( filename . as_ptr ( ) , flags , encoding . as_ptr ( ) ) } . into_result ( ) . map ( | ptr | unsafe { core :: FileStorage :: from_raw ( ptr ) } ) }
The constructors.
The constructors .
filename
&str
flags
i32
encoding
&str
overloaded parameters
None
c++ default parameters
None