[−][src]Struct fbxcel::pull_parser::v7400::attribute::loaders::ArrayLoader
Loader for array types.
Supported types are: Vec<{bool, i32, i64, f32, f64}>
.
Trait Implementations
impl LoadAttribute for ArrayLoader<Vec<bool>>
[src]
type Output = Vec<bool>
Result type on successful read.
fn expecting(&self) -> String
[src]
fn load_seq_bool(
self,
iter: impl Iterator<Item = Result<bool>>,
_: usize
) -> Result<Self::Output>
[src]
self,
iter: impl Iterator<Item = Result<bool>>,
_: usize
) -> Result<Self::Output>
fn load_bool(self, _: bool) -> Result<Self::Output>
[src]
Loads boolean value.
fn load_i16(self, _: i16) -> Result<Self::Output>
[src]
Loads i16
value.
fn load_i32(self, _: i32) -> Result<Self::Output>
[src]
Loads i32
value.
fn load_i64(self, _: i64) -> Result<Self::Output>
[src]
Loads i64
value.
fn load_f32(self, _: f32) -> Result<Self::Output>
[src]
Loads f32
value.
fn load_f64(self, _: f64) -> Result<Self::Output>
[src]
Loads f64
value.
fn load_seq_i32(
self,
_: impl Iterator<Item = Result<i32>>,
_len: usize
) -> Result<Self::Output>
[src]
self,
_: impl Iterator<Item = Result<i32>>,
_len: usize
) -> Result<Self::Output>
Loads i32
array.
fn load_seq_i64(
self,
_: impl Iterator<Item = Result<i64>>,
_len: usize
) -> Result<Self::Output>
[src]
self,
_: impl Iterator<Item = Result<i64>>,
_len: usize
) -> Result<Self::Output>
Loads i64
array.
fn load_seq_f32(
self,
_: impl Iterator<Item = Result<f32>>,
_len: usize
) -> Result<Self::Output>
[src]
self,
_: impl Iterator<Item = Result<f32>>,
_len: usize
) -> Result<Self::Output>
Loads f32
array.
fn load_seq_f64(
self,
_: impl Iterator<Item = Result<f64>>,
_len: usize
) -> Result<Self::Output>
[src]
self,
_: impl Iterator<Item = Result<f64>>,
_len: usize
) -> Result<Self::Output>
Loads f64
array.
fn load_binary(self, _: impl Read, _len: u64) -> Result<Self::Output>
[src]
Loads binary value. Read more
fn load_binary_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
Loads binary value on buffered reader. Read more
fn load_string(self, _: impl Read, _len: u64) -> Result<Self::Output>
[src]
Loads string value. Read more
fn load_string_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
Loads string value on buffered reader. Read more
impl LoadAttribute for ArrayLoader<Vec<i32>>
[src]
type Output = Vec<i32>
Result type on successful read.
fn expecting(&self) -> String
[src]
fn load_seq_i32(
self,
iter: impl Iterator<Item = Result<i32>>,
_: usize
) -> Result<Self::Output>
[src]
self,
iter: impl Iterator<Item = Result<i32>>,
_: usize
) -> Result<Self::Output>
fn load_bool(self, _: bool) -> Result<Self::Output>
[src]
Loads boolean value.
fn load_i16(self, _: i16) -> Result<Self::Output>
[src]
Loads i16
value.
fn load_i32(self, _: i32) -> Result<Self::Output>
[src]
Loads i32
value.
fn load_i64(self, _: i64) -> Result<Self::Output>
[src]
Loads i64
value.
fn load_f32(self, _: f32) -> Result<Self::Output>
[src]
Loads f32
value.
fn load_f64(self, _: f64) -> Result<Self::Output>
[src]
Loads f64
value.
fn load_seq_bool(
self,
_: impl Iterator<Item = Result<bool>>,
_len: usize
) -> Result<Self::Output>
[src]
self,
_: impl Iterator<Item = Result<bool>>,
_len: usize
) -> Result<Self::Output>
Loads boolean array.
fn load_seq_i64(
self,
_: impl Iterator<Item = Result<i64>>,
_len: usize
) -> Result<Self::Output>
[src]
self,
_: impl Iterator<Item = Result<i64>>,
_len: usize
) -> Result<Self::Output>
Loads i64
array.
fn load_seq_f32(
self,
_: impl Iterator<Item = Result<f32>>,
_len: usize
) -> Result<Self::Output>
[src]
self,
_: impl Iterator<Item = Result<f32>>,
_len: usize
) -> Result<Self::Output>
Loads f32
array.
fn load_seq_f64(
self,
_: impl Iterator<Item = Result<f64>>,
_len: usize
) -> Result<Self::Output>
[src]
self,
_: impl Iterator<Item = Result<f64>>,
_len: usize
) -> Result<Self::Output>
Loads f64
array.
fn load_binary(self, _: impl Read, _len: u64) -> Result<Self::Output>
[src]
Loads binary value. Read more
fn load_binary_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
Loads binary value on buffered reader. Read more
fn load_string(self, _: impl Read, _len: u64) -> Result<Self::Output>
[src]
Loads string value. Read more
fn load_string_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
Loads string value on buffered reader. Read more
impl LoadAttribute for ArrayLoader<Vec<i64>>
[src]
type Output = Vec<i64>
Result type on successful read.
fn expecting(&self) -> String
[src]
fn load_seq_i64(
self,
iter: impl Iterator<Item = Result<i64>>,
_: usize
) -> Result<Self::Output>
[src]
self,
iter: impl Iterator<Item = Result<i64>>,
_: usize
) -> Result<Self::Output>
fn load_bool(self, _: bool) -> Result<Self::Output>
[src]
Loads boolean value.
fn load_i16(self, _: i16) -> Result<Self::Output>
[src]
Loads i16
value.
fn load_i32(self, _: i32) -> Result<Self::Output>
[src]
Loads i32
value.
fn load_i64(self, _: i64) -> Result<Self::Output>
[src]
Loads i64
value.
fn load_f32(self, _: f32) -> Result<Self::Output>
[src]
Loads f32
value.
fn load_f64(self, _: f64) -> Result<Self::Output>
[src]
Loads f64
value.
fn load_seq_bool(
self,
_: impl Iterator<Item = Result<bool>>,
_len: usize
) -> Result<Self::Output>
[src]
self,
_: impl Iterator<Item = Result<bool>>,
_len: usize
) -> Result<Self::Output>
Loads boolean array.
fn load_seq_i32(
self,
_: impl Iterator<Item = Result<i32>>,
_len: usize
) -> Result<Self::Output>
[src]
self,
_: impl Iterator<Item = Result<i32>>,
_len: usize
) -> Result<Self::Output>
Loads i32
array.
fn load_seq_f32(
self,
_: impl Iterator<Item = Result<f32>>,
_len: usize
) -> Result<Self::Output>
[src]
self,
_: impl Iterator<Item = Result<f32>>,
_len: usize
) -> Result<Self::Output>
Loads f32
array.
fn load_seq_f64(
self,
_: impl Iterator<Item = Result<f64>>,
_len: usize
) -> Result<Self::Output>
[src]
self,
_: impl Iterator<Item = Result<f64>>,
_len: usize
) -> Result<Self::Output>
Loads f64
array.
fn load_binary(self, _: impl Read, _len: u64) -> Result<Self::Output>
[src]
Loads binary value. Read more
fn load_binary_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
Loads binary value on buffered reader. Read more
fn load_string(self, _: impl Read, _len: u64) -> Result<Self::Output>
[src]
Loads string value. Read more
fn load_string_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
Loads string value on buffered reader. Read more
impl LoadAttribute for ArrayLoader<Vec<f32>>
[src]
type Output = Vec<f32>
Result type on successful read.
fn expecting(&self) -> String
[src]
fn load_seq_f32(
self,
iter: impl Iterator<Item = Result<f32>>,
_: usize
) -> Result<Self::Output>
[src]
self,
iter: impl Iterator<Item = Result<f32>>,
_: usize
) -> Result<Self::Output>
fn load_bool(self, _: bool) -> Result<Self::Output>
[src]
Loads boolean value.
fn load_i16(self, _: i16) -> Result<Self::Output>
[src]
Loads i16
value.
fn load_i32(self, _: i32) -> Result<Self::Output>
[src]
Loads i32
value.
fn load_i64(self, _: i64) -> Result<Self::Output>
[src]
Loads i64
value.
fn load_f32(self, _: f32) -> Result<Self::Output>
[src]
Loads f32
value.
fn load_f64(self, _: f64) -> Result<Self::Output>
[src]
Loads f64
value.
fn load_seq_bool(
self,
_: impl Iterator<Item = Result<bool>>,
_len: usize
) -> Result<Self::Output>
[src]
self,
_: impl Iterator<Item = Result<bool>>,
_len: usize
) -> Result<Self::Output>
Loads boolean array.
fn load_seq_i32(
self,
_: impl Iterator<Item = Result<i32>>,
_len: usize
) -> Result<Self::Output>
[src]
self,
_: impl Iterator<Item = Result<i32>>,
_len: usize
) -> Result<Self::Output>
Loads i32
array.
fn load_seq_i64(
self,
_: impl Iterator<Item = Result<i64>>,
_len: usize
) -> Result<Self::Output>
[src]
self,
_: impl Iterator<Item = Result<i64>>,
_len: usize
) -> Result<Self::Output>
Loads i64
array.
fn load_seq_f64(
self,
_: impl Iterator<Item = Result<f64>>,
_len: usize
) -> Result<Self::Output>
[src]
self,
_: impl Iterator<Item = Result<f64>>,
_len: usize
) -> Result<Self::Output>
Loads f64
array.
fn load_binary(self, _: impl Read, _len: u64) -> Result<Self::Output>
[src]
Loads binary value. Read more
fn load_binary_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
Loads binary value on buffered reader. Read more
fn load_string(self, _: impl Read, _len: u64) -> Result<Self::Output>
[src]
Loads string value. Read more
fn load_string_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
Loads string value on buffered reader. Read more
impl LoadAttribute for ArrayLoader<Vec<f64>>
[src]
type Output = Vec<f64>
Result type on successful read.
fn expecting(&self) -> String
[src]
fn load_seq_f64(
self,
iter: impl Iterator<Item = Result<f64>>,
_: usize
) -> Result<Self::Output>
[src]
self,
iter: impl Iterator<Item = Result<f64>>,
_: usize
) -> Result<Self::Output>
fn load_bool(self, _: bool) -> Result<Self::Output>
[src]
Loads boolean value.
fn load_i16(self, _: i16) -> Result<Self::Output>
[src]
Loads i16
value.
fn load_i32(self, _: i32) -> Result<Self::Output>
[src]
Loads i32
value.
fn load_i64(self, _: i64) -> Result<Self::Output>
[src]
Loads i64
value.
fn load_f32(self, _: f32) -> Result<Self::Output>
[src]
Loads f32
value.
fn load_f64(self, _: f64) -> Result<Self::Output>
[src]
Loads f64
value.
fn load_seq_bool(
self,
_: impl Iterator<Item = Result<bool>>,
_len: usize
) -> Result<Self::Output>
[src]
self,
_: impl Iterator<Item = Result<bool>>,
_len: usize
) -> Result<Self::Output>
Loads boolean array.
fn load_seq_i32(
self,
_: impl Iterator<Item = Result<i32>>,
_len: usize
) -> Result<Self::Output>
[src]
self,
_: impl Iterator<Item = Result<i32>>,
_len: usize
) -> Result<Self::Output>
Loads i32
array.
fn load_seq_i64(
self,
_: impl Iterator<Item = Result<i64>>,
_len: usize
) -> Result<Self::Output>
[src]
self,
_: impl Iterator<Item = Result<i64>>,
_len: usize
) -> Result<Self::Output>
Loads i64
array.
fn load_seq_f32(
self,
_: impl Iterator<Item = Result<f32>>,
_len: usize
) -> Result<Self::Output>
[src]
self,
_: impl Iterator<Item = Result<f32>>,
_len: usize
) -> Result<Self::Output>
Loads f32
array.
fn load_binary(self, _: impl Read, _len: u64) -> Result<Self::Output>
[src]
Loads binary value. Read more
fn load_binary_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
Loads binary value on buffered reader. Read more
fn load_string(self, _: impl Read, _len: u64) -> Result<Self::Output>
[src]
Loads string value. Read more
fn load_string_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
Loads string value on buffered reader. Read more
impl<T: PartialOrd> PartialOrd<ArrayLoader<T>> for ArrayLoader<T>
[src]
fn partial_cmp(&self, other: &ArrayLoader<T>) -> Option<Ordering>
[src]
fn lt(&self, other: &ArrayLoader<T>) -> bool
[src]
fn le(&self, other: &ArrayLoader<T>) -> bool
[src]
fn gt(&self, other: &ArrayLoader<T>) -> bool
[src]
fn ge(&self, other: &ArrayLoader<T>) -> bool
[src]
impl<T: Copy> Copy for ArrayLoader<T>
[src]
impl<T: PartialEq> PartialEq<ArrayLoader<T>> for ArrayLoader<T>
[src]
fn eq(&self, other: &ArrayLoader<T>) -> bool
[src]
fn ne(&self, other: &ArrayLoader<T>) -> bool
[src]
impl<T: Default> Default for ArrayLoader<T>
[src]
fn default() -> ArrayLoader<T>
[src]
impl<T: Clone> Clone for ArrayLoader<T>
[src]
fn clone(&self) -> ArrayLoader<T>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<T: Ord> Ord for ArrayLoader<T>
[src]
fn cmp(&self, other: &ArrayLoader<T>) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
Compares and returns the minimum of two values. Read more
fn clamp(self, min: Self, max: Self) -> Self
[src]
clamp
)Returns max if self is greater than max, and min if self is less than min. Otherwise this will return self. Panics if min > max. Read more
impl<T: Eq> Eq for ArrayLoader<T>
[src]
impl<T: Debug> Debug for ArrayLoader<T>
[src]
impl<T: Hash> Hash for ArrayLoader<T>
[src]
Auto Trait Implementations
impl<T> Send for ArrayLoader<T> where
T: Send,
T: Send,
impl<T> Sync for ArrayLoader<T> where
T: Sync,
T: Sync,
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom 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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,