[−][src]Struct fbxcel::pull_parser::v7400::attribute::loaders::PrimitiveLoader
Trait Implementations
impl LoadAttribute for PrimitiveLoader<bool>
[src]
type Output = bool
Result type on successful read.
fn expecting(&self) -> String
[src]
fn load_bool(self, v: bool) -> Result<Self::Output>
[src]
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_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 PrimitiveLoader<i16>
[src]
type Output = i16
Result type on successful read.
fn expecting(&self) -> String
[src]
fn load_i16(self, v: i16) -> Result<Self::Output>
[src]
fn load_bool(self, _: bool) -> Result<Self::Output>
[src]
Loads boolean 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_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 PrimitiveLoader<i32>
[src]
type Output = i32
Result type on successful read.
fn expecting(&self) -> String
[src]
fn load_i32(self, v: i32) -> Result<Self::Output>
[src]
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_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_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 PrimitiveLoader<i64>
[src]
type Output = i64
Result type on successful read.
fn expecting(&self) -> String
[src]
fn load_i64(self, v: i64) -> Result<Self::Output>
[src]
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_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_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 PrimitiveLoader<f32>
[src]
type Output = f32
Result type on successful read.
fn expecting(&self) -> String
[src]
fn load_f32(self, v: f32) -> Result<Self::Output>
[src]
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_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_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 PrimitiveLoader<f64>
[src]
type Output = f64
Result type on successful read.
fn expecting(&self) -> String
[src]
fn load_f64(self, v: f64) -> Result<Self::Output>
[src]
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_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_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<T: PartialOrd> PartialOrd<PrimitiveLoader<T>> for PrimitiveLoader<T>
[src]
fn partial_cmp(&self, other: &PrimitiveLoader<T>) -> Option<Ordering>
[src]
fn lt(&self, other: &PrimitiveLoader<T>) -> bool
[src]
fn le(&self, other: &PrimitiveLoader<T>) -> bool
[src]
fn gt(&self, other: &PrimitiveLoader<T>) -> bool
[src]
fn ge(&self, other: &PrimitiveLoader<T>) -> bool
[src]
impl<T: Copy> Copy for PrimitiveLoader<T>
[src]
impl<T: PartialEq> PartialEq<PrimitiveLoader<T>> for PrimitiveLoader<T>
[src]
fn eq(&self, other: &PrimitiveLoader<T>) -> bool
[src]
fn ne(&self, other: &PrimitiveLoader<T>) -> bool
[src]
impl<T: Default> Default for PrimitiveLoader<T>
[src]
fn default() -> PrimitiveLoader<T>
[src]
impl<T: Clone> Clone for PrimitiveLoader<T>
[src]
fn clone(&self) -> PrimitiveLoader<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 PrimitiveLoader<T>
[src]
fn cmp(&self, other: &PrimitiveLoader<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 PrimitiveLoader<T>
[src]
impl<T: Debug> Debug for PrimitiveLoader<T>
[src]
impl<T: Hash> Hash for PrimitiveLoader<T>
[src]
Auto Trait Implementations
impl<T> Send for PrimitiveLoader<T> where
T: Send,
T: Send,
impl<T> Sync for PrimitiveLoader<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,