[][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.

Implementations

impl FileNodeIterator[src]

impl FileNodeIterator[src]

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

The constructors.

These constructors are used to create a default iterator, set it to specific element in a file node or construct it from another iterator.

pub fn new(node: &FileNode, seek_end: bool) -> Result<FileNodeIterator>[src]

The constructors.

These constructors are used to create a default iterator, set it to specific element in a file node or construct it from another iterator.

Overloaded parameters

Parameters

  • node: File node - the collection to iterate over; it can be a scalar (equivalent to 1-element collection) or "none" (equivalent to empty collection).
  • seekEnd: - true if iterator needs to be set after the last element of the node; that is: * node.begin() => FileNodeIterator(node, false) * node.end() => FileNodeIterator(node, true)

pub fn copy(it: &FileNodeIterator) -> Result<FileNodeIterator>[src]

The constructors.

These constructors are used to create a default iterator, set it to specific element in a file node or construct it from another iterator.

Overloaded parameters

Parameters

  • it: Iterator to be used as initialization for the created iterator.

Trait Implementations

impl Boxed for FileNodeIterator[src]

impl Drop for FileNodeIterator[src]

impl FileNodeIteratorTrait for FileNodeIterator[src]

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