[][src]Struct fbxcel::pull_parser::v7400::attribute::Attributes

pub struct Attributes<'a, R> { /* fields omitted */ }

Node attributes reader.

Methods

impl<'a, R: 'a + ParserSource> Attributes<'a, R>[src]

pub fn total_count(&self) -> u64[src]

Returns the total number of attributes.

pub fn rest_count(&self) -> u64[src]

Returns the number of the rest attributes.

pub fn load_next<V>(&mut self, loader: V) -> Result<Option<V::Output>> where
    V: LoadAttribute
[src]

Lets loader load the next node attribute.

pub fn load_next_buffered<V>(&mut self, loader: V) -> Result<Option<V::Output>> where
    R: BufRead,
    V: LoadAttribute
[src]

Lets loader load the next node attribute.

This method prefers V::load_{binary,string}_buffered to V::load_{binary,string}.

Important traits for BorrowedIter<'a, 'r, R, I>
pub fn iter<V, I>(&mut self, loaders: I) -> BorrowedIter<'_, 'a, R, I::IntoIter> where
    V: LoadAttribute,
    I: IntoIterator<Item = V>, 
[src]

Creates an iterator emitting attribute values.

Important traits for BorrowedIterBuffered<'a, 'r, R, I>
pub fn iter_buffered<V, I>(
    &mut self,
    loaders: I
) -> BorrowedIterBuffered<'_, 'a, R, I::IntoIter> where
    R: BufRead,
    V: LoadAttribute,
    I: IntoIterator<Item = V>, 
[src]

Creates an iterator emitting attribute values with buffered I/O.

Important traits for OwnedIter<'r, R, I>
pub fn into_iter<V, I>(self, loaders: I) -> OwnedIter<'a, R, I::IntoIter> where
    V: LoadAttribute,
    I: IntoIterator<Item = V>, 
[src]

Creates an iterator emitting attribute values.

Important traits for OwnedIterBuffered<'r, R, I>
pub fn into_iter_buffered<V, I>(
    self,
    loaders: I
) -> OwnedIterBuffered<'a, R, I::IntoIter> where
    R: BufRead,
    V: LoadAttribute,
    I: IntoIterator<Item = V>, 
[src]

Creates an iterator emitting attribute values with buffered I/O.

Trait Implementations

impl<'a, R: Debug> Debug for Attributes<'a, R>[src]

Auto Trait Implementations

impl<'a, R> !Send for Attributes<'a, R>

impl<'a, R> !Sync for Attributes<'a, R>

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.