[−][src]Trait fbxcel::pull_parser::v7400::attribute::LoadAttribute
A trait for attribute loader types.
This is a lot like a "visitor", but node attributes do not have recursive structures, so this loader is not "visitor".
The load_*
method corresponding to the node attribute type are called with
its value.
All of load_*
has default implementation to return error as "unexpected
attribute".
Users should implement them manually for types they want to interpret.
For simple types, pull_parser::v7400::attribute::loaders
module contains
useful loaders.
Associated Types
type Output
Result type on successful read.
Required methods
Loading content...Provided methods
fn load_bool(self, _: bool) -> Result<Self::Output>
Loads boolean value.
fn load_i16(self, _: i16) -> Result<Self::Output>
Loads i16
value.
fn load_i32(self, _: i32) -> Result<Self::Output>
Loads i32
value.
fn load_i64(self, _: i64) -> Result<Self::Output>
Loads i64
value.
fn load_f32(self, _: f32) -> Result<Self::Output>
Loads f32
value.
fn load_f64(self, _: f64) -> Result<Self::Output>
Loads f64
value.
fn load_seq_bool(
self,
_: impl Iterator<Item = Result<bool>>,
_len: usize
) -> Result<Self::Output>
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>
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>
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>
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>
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>
Loads binary value.
This method should return error when the given reader returned error.
fn load_binary_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
Loads binary value on buffered reader.
This method should return error when the given reader returned error.
fn load_string(self, _: impl Read, _len: u64) -> Result<Self::Output>
Loads string value.
This method should return error when the given reader returned error.
fn load_string_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
Loads string value on buffered reader.
This method should return error when the given reader returned error.
Implementors
impl LoadAttribute for ArrayLoader<Vec<bool>>
[src]
type Output = Vec<bool>
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]
fn load_i16(self, _: i16) -> Result<Self::Output>
[src]
fn load_i32(self, _: i32) -> Result<Self::Output>
[src]
fn load_i64(self, _: i64) -> Result<Self::Output>
[src]
fn load_f32(self, _: f32) -> Result<Self::Output>
[src]
fn load_f64(self, _: f64) -> Result<Self::Output>
[src]
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>
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>
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>
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>
fn load_binary(self, _: impl Read, _len: u64) -> Result<Self::Output>
[src]
fn load_binary_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
fn load_string(self, _: impl Read, _len: u64) -> Result<Self::Output>
[src]
fn load_string_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
impl LoadAttribute for ArrayLoader<Vec<f32>>
[src]
type Output = Vec<f32>
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]
fn load_i16(self, _: i16) -> Result<Self::Output>
[src]
fn load_i32(self, _: i32) -> Result<Self::Output>
[src]
fn load_i64(self, _: i64) -> Result<Self::Output>
[src]
fn load_f32(self, _: f32) -> Result<Self::Output>
[src]
fn load_f64(self, _: f64) -> Result<Self::Output>
[src]
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>
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>
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>
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>
fn load_binary(self, _: impl Read, _len: u64) -> Result<Self::Output>
[src]
fn load_binary_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
fn load_string(self, _: impl Read, _len: u64) -> Result<Self::Output>
[src]
fn load_string_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
impl LoadAttribute for ArrayLoader<Vec<f64>>
[src]
type Output = Vec<f64>
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]
fn load_i16(self, _: i16) -> Result<Self::Output>
[src]
fn load_i32(self, _: i32) -> Result<Self::Output>
[src]
fn load_i64(self, _: i64) -> Result<Self::Output>
[src]
fn load_f32(self, _: f32) -> Result<Self::Output>
[src]
fn load_f64(self, _: f64) -> Result<Self::Output>
[src]
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>
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>
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>
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>
fn load_binary(self, _: impl Read, _len: u64) -> Result<Self::Output>
[src]
fn load_binary_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
fn load_string(self, _: impl Read, _len: u64) -> Result<Self::Output>
[src]
fn load_string_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
impl LoadAttribute for ArrayLoader<Vec<i32>>
[src]
type Output = Vec<i32>
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]
fn load_i16(self, _: i16) -> Result<Self::Output>
[src]
fn load_i32(self, _: i32) -> Result<Self::Output>
[src]
fn load_i64(self, _: i64) -> Result<Self::Output>
[src]
fn load_f32(self, _: f32) -> Result<Self::Output>
[src]
fn load_f64(self, _: f64) -> Result<Self::Output>
[src]
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>
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>
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>
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>
fn load_binary(self, _: impl Read, _len: u64) -> Result<Self::Output>
[src]
fn load_binary_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
fn load_string(self, _: impl Read, _len: u64) -> Result<Self::Output>
[src]
fn load_string_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
impl LoadAttribute for ArrayLoader<Vec<i64>>
[src]
type Output = Vec<i64>
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]
fn load_i16(self, _: i16) -> Result<Self::Output>
[src]
fn load_i32(self, _: i32) -> Result<Self::Output>
[src]
fn load_i64(self, _: i64) -> Result<Self::Output>
[src]
fn load_f32(self, _: f32) -> Result<Self::Output>
[src]
fn load_f64(self, _: f64) -> Result<Self::Output>
[src]
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>
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>
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>
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>
fn load_binary(self, _: impl Read, _len: u64) -> Result<Self::Output>
[src]
fn load_binary_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
fn load_string(self, _: impl Read, _len: u64) -> Result<Self::Output>
[src]
fn load_string_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
impl LoadAttribute for BinaryLoader
[src]
type Output = Vec<u8>
fn expecting(&self) -> String
[src]
fn load_binary(self, reader: impl Read, len: u64) -> Result<Self::Output>
[src]
fn load_bool(self, _: bool) -> Result<Self::Output>
[src]
fn load_i16(self, _: i16) -> Result<Self::Output>
[src]
fn load_i32(self, _: i32) -> Result<Self::Output>
[src]
fn load_i64(self, _: i64) -> Result<Self::Output>
[src]
fn load_f32(self, _: f32) -> Result<Self::Output>
[src]
fn load_f64(self, _: f64) -> Result<Self::Output>
[src]
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>
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>
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>
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>
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>
fn load_binary_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
fn load_string(self, _: impl Read, _len: u64) -> Result<Self::Output>
[src]
fn load_string_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
impl LoadAttribute for DirectLoader
[src]
type Output = AttributeValue
fn expecting(&self) -> String
[src]
fn load_bool(self, v: bool) -> Result<Self::Output>
[src]
fn load_i16(self, v: i16) -> Result<Self::Output>
[src]
fn load_i32(self, v: i32) -> Result<Self::Output>
[src]
fn load_i64(self, v: i64) -> Result<Self::Output>
[src]
fn load_f32(self, v: f32) -> Result<Self::Output>
[src]
fn load_f64(self, v: f64) -> Result<Self::Output>
[src]
fn load_seq_bool(
self,
iter: impl Iterator<Item = Result<bool>>,
_len: usize
) -> Result<Self::Output>
[src]
self,
iter: impl Iterator<Item = Result<bool>>,
_len: usize
) -> Result<Self::Output>
fn load_seq_i32(
self,
iter: impl Iterator<Item = Result<i32>>,
_len: usize
) -> Result<Self::Output>
[src]
self,
iter: impl Iterator<Item = Result<i32>>,
_len: usize
) -> Result<Self::Output>
fn load_seq_i64(
self,
iter: impl Iterator<Item = Result<i64>>,
_len: usize
) -> Result<Self::Output>
[src]
self,
iter: impl Iterator<Item = Result<i64>>,
_len: usize
) -> Result<Self::Output>
fn load_seq_f32(
self,
iter: impl Iterator<Item = Result<f32>>,
_len: usize
) -> Result<Self::Output>
[src]
self,
iter: impl Iterator<Item = Result<f32>>,
_len: usize
) -> Result<Self::Output>
fn load_seq_f64(
self,
iter: impl Iterator<Item = Result<f64>>,
_len: usize
) -> Result<Self::Output>
[src]
self,
iter: impl Iterator<Item = Result<f64>>,
_len: usize
) -> Result<Self::Output>
fn load_binary(self, reader: impl Read, len: u64) -> Result<Self::Output>
[src]
fn load_string(self, reader: impl Read, len: u64) -> Result<Self::Output>
[src]
fn load_binary_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
fn load_string_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
impl LoadAttribute for PrimitiveLoader<bool>
[src]
type Output = bool
fn expecting(&self) -> String
[src]
fn load_bool(self, v: bool) -> Result<Self::Output>
[src]
fn load_i16(self, _: i16) -> Result<Self::Output>
[src]
fn load_i32(self, _: i32) -> Result<Self::Output>
[src]
fn load_i64(self, _: i64) -> Result<Self::Output>
[src]
fn load_f32(self, _: f32) -> Result<Self::Output>
[src]
fn load_f64(self, _: f64) -> Result<Self::Output>
[src]
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>
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>
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>
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>
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>
fn load_binary(self, _: impl Read, _len: u64) -> Result<Self::Output>
[src]
fn load_binary_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
fn load_string(self, _: impl Read, _len: u64) -> Result<Self::Output>
[src]
fn load_string_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
impl LoadAttribute for PrimitiveLoader<f32>
[src]
type Output = f32
fn expecting(&self) -> String
[src]
fn load_f32(self, v: f32) -> Result<Self::Output>
[src]
fn load_bool(self, _: bool) -> Result<Self::Output>
[src]
fn load_i16(self, _: i16) -> Result<Self::Output>
[src]
fn load_i32(self, _: i32) -> Result<Self::Output>
[src]
fn load_i64(self, _: i64) -> Result<Self::Output>
[src]
fn load_f64(self, _: f64) -> Result<Self::Output>
[src]
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>
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>
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>
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>
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>
fn load_binary(self, _: impl Read, _len: u64) -> Result<Self::Output>
[src]
fn load_binary_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
fn load_string(self, _: impl Read, _len: u64) -> Result<Self::Output>
[src]
fn load_string_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
impl LoadAttribute for PrimitiveLoader<f64>
[src]
type Output = f64
fn expecting(&self) -> String
[src]
fn load_f64(self, v: f64) -> Result<Self::Output>
[src]
fn load_bool(self, _: bool) -> Result<Self::Output>
[src]
fn load_i16(self, _: i16) -> Result<Self::Output>
[src]
fn load_i32(self, _: i32) -> Result<Self::Output>
[src]
fn load_i64(self, _: i64) -> Result<Self::Output>
[src]
fn load_f32(self, _: f32) -> Result<Self::Output>
[src]
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>
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>
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>
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>
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>
fn load_binary(self, _: impl Read, _len: u64) -> Result<Self::Output>
[src]
fn load_binary_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
fn load_string(self, _: impl Read, _len: u64) -> Result<Self::Output>
[src]
fn load_string_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
impl LoadAttribute for PrimitiveLoader<i16>
[src]
type Output = i16
fn expecting(&self) -> String
[src]
fn load_i16(self, v: i16) -> Result<Self::Output>
[src]
fn load_bool(self, _: bool) -> Result<Self::Output>
[src]
fn load_i32(self, _: i32) -> Result<Self::Output>
[src]
fn load_i64(self, _: i64) -> Result<Self::Output>
[src]
fn load_f32(self, _: f32) -> Result<Self::Output>
[src]
fn load_f64(self, _: f64) -> Result<Self::Output>
[src]
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>
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>
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>
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>
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>
fn load_binary(self, _: impl Read, _len: u64) -> Result<Self::Output>
[src]
fn load_binary_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
fn load_string(self, _: impl Read, _len: u64) -> Result<Self::Output>
[src]
fn load_string_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
impl LoadAttribute for PrimitiveLoader<i32>
[src]
type Output = i32
fn expecting(&self) -> String
[src]
fn load_i32(self, v: i32) -> Result<Self::Output>
[src]
fn load_bool(self, _: bool) -> Result<Self::Output>
[src]
fn load_i16(self, _: i16) -> Result<Self::Output>
[src]
fn load_i64(self, _: i64) -> Result<Self::Output>
[src]
fn load_f32(self, _: f32) -> Result<Self::Output>
[src]
fn load_f64(self, _: f64) -> Result<Self::Output>
[src]
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>
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>
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>
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>
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>
fn load_binary(self, _: impl Read, _len: u64) -> Result<Self::Output>
[src]
fn load_binary_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
fn load_string(self, _: impl Read, _len: u64) -> Result<Self::Output>
[src]
fn load_string_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
impl LoadAttribute for PrimitiveLoader<i64>
[src]
type Output = i64
fn expecting(&self) -> String
[src]
fn load_i64(self, v: i64) -> Result<Self::Output>
[src]
fn load_bool(self, _: bool) -> Result<Self::Output>
[src]
fn load_i16(self, _: i16) -> Result<Self::Output>
[src]
fn load_i32(self, _: i32) -> Result<Self::Output>
[src]
fn load_f32(self, _: f32) -> Result<Self::Output>
[src]
fn load_f64(self, _: f64) -> Result<Self::Output>
[src]
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>
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>
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>
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>
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>
fn load_binary(self, _: impl Read, _len: u64) -> Result<Self::Output>
[src]
fn load_binary_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
fn load_string(self, _: impl Read, _len: u64) -> Result<Self::Output>
[src]
fn load_string_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
impl LoadAttribute for StringLoader
[src]
type Output = String
fn expecting(&self) -> String
[src]
fn load_string(self, reader: impl Read, len: u64) -> Result<Self::Output>
[src]
fn load_bool(self, _: bool) -> Result<Self::Output>
[src]
fn load_i16(self, _: i16) -> Result<Self::Output>
[src]
fn load_i32(self, _: i32) -> Result<Self::Output>
[src]
fn load_i64(self, _: i64) -> Result<Self::Output>
[src]
fn load_f32(self, _: f32) -> Result<Self::Output>
[src]
fn load_f64(self, _: f64) -> Result<Self::Output>
[src]
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>
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>
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>
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>
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>
fn load_binary(self, _: impl Read, _len: u64) -> Result<Self::Output>
[src]
fn load_binary_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
fn load_string_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
impl LoadAttribute for TypeLoader
[src]
type Output = AttributeType
fn expecting(&self) -> String
[src]
fn load_bool(self, _: bool) -> Result<Self::Output>
[src]
fn load_i16(self, _: i16) -> Result<Self::Output>
[src]
fn load_i32(self, _: i32) -> Result<Self::Output>
[src]
fn load_i64(self, _: i64) -> Result<Self::Output>
[src]
fn load_f32(self, _: f32) -> Result<Self::Output>
[src]
fn load_f64(self, _: f64) -> Result<Self::Output>
[src]
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>
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>
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>
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>
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>
fn load_binary(self, _: impl Read, _len: u64) -> Result<Self::Output>
[src]
fn load_string(self, _: impl Read, _len: u64) -> Result<Self::Output>
[src]
fn load_binary_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
fn load_string_buffered(
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>
[src]
self,
reader: impl BufRead,
len: u64
) -> Result<Self::Output>