[−][src]Struct opencv::core::FileNodeIterator
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]
pub fn as_raw_FileNodeIterator(&self) -> *const c_void
[src]
pub fn as_raw_mut_FileNodeIterator(&mut self) -> *mut c_void
[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]
pub unsafe fn from_raw(ptr: *mut c_void) -> Self
[src]
pub fn into_raw(self) -> *mut c_void
[src]
pub fn as_raw(&self) -> *const c_void
[src]
pub fn as_raw_mut(&mut self) -> *mut c_void
[src]
impl Drop for FileNodeIterator
[src]
impl FileNodeIteratorTrait for FileNodeIterator
[src]
pub fn as_raw_FileNodeIterator(&self) -> *const c_void
[src]
pub fn as_raw_mut_FileNodeIterator(&mut self) -> *mut c_void
[src]
pub fn try_deref(&self) -> Result<FileNode>
[src]
pub fn read_raw(
&mut self,
fmt: &str,
vec: *mut c_void,
len: size_t
) -> Result<FileNodeIterator>
[src]
&mut self,
fmt: &str,
vec: *mut c_void,
len: size_t
) -> Result<FileNodeIterator>
pub fn remaining(&self) -> Result<size_t>
[src]
pub fn equal_to(&self, it: &FileNodeIterator) -> Result<bool>
[src]
impl Send for FileNodeIterator
[src]
Auto Trait Implementations
impl RefUnwindSafe for FileNodeIterator
[src]
impl !Sync for FileNodeIterator
[src]
impl Unpin for FileNodeIterator
[src]
impl UnwindSafe for FileNodeIterator
[src]
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,
pub 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.
pub 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>,