[][src]Struct fbxcel::pull_parser::v7400::attribute::loaders::StringLoader

pub struct StringLoader;

Loader for a string.

Trait Implementations

impl LoadAttribute for StringLoader[src]

type Output = String

Result type on successful read.

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]

Loads boolean array.

fn load_seq_i32(
    self,
    _: impl Iterator<Item = Result<i32>>,
    _len: usize
) -> Result<Self::Output>
[src]

Loads i32 array.

fn load_seq_i64(
    self,
    _: impl Iterator<Item = Result<i64>>,
    _len: usize
) -> Result<Self::Output>
[src]

Loads i64 array.

fn load_seq_f32(
    self,
    _: impl Iterator<Item = Result<f32>>,
    _len: usize
) -> Result<Self::Output>
[src]

Loads f32 array.

fn load_seq_f64(
    self,
    _: impl Iterator<Item = Result<f64>>,
    _len: usize
) -> Result<Self::Output>
[src]

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]

Loads binary value on buffered reader. Read more

fn load_string_buffered(
    self,
    reader: impl BufRead,
    len: u64
) -> Result<Self::Output>
[src]

Loads string value on buffered reader. Read more

impl PartialOrd<StringLoader> for StringLoader[src]

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests less than (for self and other) and is used by the < operator. Read more

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Copy for StringLoader[src]

impl PartialEq<StringLoader> for StringLoader[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Default for StringLoader[src]

impl Clone for StringLoader[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Ord for StringLoader[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]

🔬 This is a nightly-only experimental API. (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 Eq for StringLoader[src]

impl Debug for StringLoader[src]

impl Hash for StringLoader[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

Blanket Implementations

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

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> 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.

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