[−][src]Struct opencv::types::PtrOfFileStorage
Methods
impl PtrOfFileStorage
[src]
pub fn as_raw_PtrOfFileStorage(&self) -> *mut c_void
[src]
pub unsafe fn from_raw_ptr(ptr: *mut c_void) -> Self
[src]
pub fn get_inner_ptr(&self) -> *mut c_void
[src]
Get raw pointer to the inner object
Trait Implementations
impl Drop for PtrOfFileStorage
[src]
impl FileStorageTrait for PtrOfFileStorage
[src]
fn as_raw_FileStorage(&self) -> *mut c_void
[src]
fn state(&self) -> i32
[src]
fn set_state(&mut self, val: i32)
[src]
fn elname(&self) -> String
[src]
fn set_elname(&mut self, val: &str)
[src]
fn open(&mut self, filename: &str, flags: i32, encoding: &str) -> Result<bool>
[src]
fn is_opened(&self) -> Result<bool>
[src]
fn release(&mut self) -> Result<()>
[src]
fn release_and_get_string(&mut self) -> Result<String>
[src]
fn get_first_top_level_node(&self) -> Result<FileNode>
[src]
fn root(&self, streamidx: i32) -> Result<FileNode>
[src]
fn get(&self, nodename: &str) -> Result<FileNode>
[src]
fn get_node(&self, nodename: &str) -> Result<FileNode>
[src]
fn write_i32(&mut self, name: &str, val: i32) -> Result<()>
[src]
fn write_f64(&mut self, name: &str, val: f64) -> Result<()>
[src]
fn write_str(&mut self, name: &str, val: &str) -> Result<()>
[src]
fn write_mat(&mut self, name: &str, val: &Mat) -> Result<()>
[src]
fn write_str_vec(&mut self, name: &str, val: &VectorOfString) -> Result<()>
[src]
fn write_raw(
&mut self,
fmt: &str,
vec: *const c_void,
len: size_t
) -> Result<()>
[src]
&mut self,
fmt: &str,
vec: *const c_void,
len: size_t
) -> Result<()>
fn write_comment(&mut self, comment: &str, append: bool) -> Result<()>
[src]
fn start_write_struct(
&mut self,
name: &str,
flags: i32,
type_name: &str
) -> Result<()>
[src]
&mut self,
name: &str,
flags: i32,
type_name: &str
) -> Result<()>
fn end_write_struct(&mut self) -> Result<()>
[src]
fn get_format(&self) -> Result<i32>
[src]
impl Send for PtrOfFileStorage
[src]
Auto Trait Implementations
impl RefUnwindSafe for PtrOfFileStorage
impl !Sync for PtrOfFileStorage
impl Unpin for PtrOfFileStorage
impl UnwindSafe for PtrOfFileStorage
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,