[][src]Struct opencv::core::FileNodeIterator

pub struct FileNodeIterator { /* fields omitted */ }

used to iterate through sequences and mappings.

A standard STL notation, with node.begin(), node.end() denoting the beginning and the end of a sequence, stored in node. See the data reading sample in the beginning of the section.

Methods

impl FileNodeIterator[src]

pub fn as_raw_FileNodeIterator(&self) -> *mut c_void[src]

pub unsafe fn from_raw_ptr(ptr: *mut c_void) -> Self[src]

impl FileNodeIterator[src]

pub fn read_raw(
    &mut self,
    fmt: &str,
    vec: &mut u8,
    len: size_t
) -> Result<FileNodeIterator>
[src]

Reads node elements to the buffer with the specified format.

Usually it is more convenient to use operator >> instead of this method.

Parameters

  • fmt: Specification of each array element. See @ref format_spec "format specification"
  • vec: Pointer to the destination array.
  • len: Number of bytes to read (buffer size limit). If it is greater than number of remaining elements then all of them will be read.

C++ default parameters

  • len: (size_t)INT_MAX

Trait Implementations

impl Send for FileNodeIterator[src]

impl Drop for FileNodeIterator[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for 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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]