[][src]Struct fbxcel_dom::v7400::object::property::loaders::RgbLoader

pub struct RgbLoader<T>(_);

rgb crate color type loader.

This does minimal checks about data_type and label. If you want to check property type precisely, you should make another loader type by purpose.

Note that f32 and f64 is NOT converted automatically by this loader.

Methods

impl<T> RgbLoader<T>[src]

pub fn new() -> Self[src]

Creates a new RgbLoader.

Trait Implementations

impl<'_> LoadProperty<'_> for RgbLoader<RGB<f32>>[src]

type Value = RGB<f32>

Value type.

type Error = Error

Error type.

impl<'_> LoadProperty<'_> for RgbLoader<RGB<f64>>[src]

type Value = RGB<f64>

Value type.

type Error = Error

Error type.

impl<'_> LoadProperty<'_> for RgbLoader<RGBA<f32>>[src]

type Value = RGBA<f32>

Value type.

type Error = Error

Error type.

impl<'_> LoadProperty<'_> for RgbLoader<RGBA<f64>>[src]

type Value = RGBA<f64>

Value type.

type Error = Error

Error type.

impl<T> Clone for RgbLoader<T>[src]

impl<T> Copy for RgbLoader<T>[src]

impl<T> Default for RgbLoader<T>[src]

impl<T: Eq> Eq for RgbLoader<T>[src]

impl<T: Ord> Ord for RgbLoader<T>[src]

impl<T: PartialEq> PartialEq<RgbLoader<T>> for RgbLoader<T>[src]

impl<T: PartialOrd> PartialOrd<RgbLoader<T>> for RgbLoader<T>[src]

impl<T: Debug> Debug for RgbLoader<T>[src]

impl<T: Hash> Hash for RgbLoader<T>[src]

impl<T> StructuralPartialEq for RgbLoader<T>[src]

impl<T> StructuralEq for RgbLoader<T>[src]

Auto Trait Implementations

impl<T> Send for RgbLoader<T>

impl<T> Sync for RgbLoader<T>

impl<T> Unpin for RgbLoader<T>

impl<T> UnwindSafe for RgbLoader<T>

impl<T> RefUnwindSafe for RgbLoader<T>

Blanket Implementations

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

impl<T> From<T> for T[src]

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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> Borrow<T> for T where
    T: ?Sized
[src]

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

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