[−][src]Struct fbxcel_dom::v7400::object::property::loaders::MintLoader
Mint 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.
Implementations
impl<T> MintLoader<T>
[src]
Trait Implementations
impl<T> Clone for MintLoader<T>
[src]
pub fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T> Copy for MintLoader<T>
[src]
impl<T: Debug> Debug for MintLoader<T>
[src]
impl<T> Default for MintLoader<T>
[src]
impl<T: Eq> Eq for MintLoader<T>
[src]
impl<T: Hash> Hash for MintLoader<T>
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl LoadProperty<'_> for MintLoader<Point2<f32>>
[src]
type Value = Point2<f32>
Value type.
type Error = Error
Error type.
pub fn expecting(&self) -> String
[src]
pub fn load(self, node: &PropertyHandle<'_>) -> Result<Self::Value, Self::Error>
[src]
impl LoadProperty<'_> for MintLoader<Point2<f64>>
[src]
type Value = Point2<f64>
Value type.
type Error = Error
Error type.
pub fn expecting(&self) -> String
[src]
pub fn load(self, node: &PropertyHandle<'_>) -> Result<Self::Value, Self::Error>
[src]
impl LoadProperty<'_> for MintLoader<ColumnMatrix4<f32>>
[src]
type Value = ColumnMatrix4<f32>
Value type.
type Error = Error
Error type.
pub fn expecting(&self) -> String
[src]
pub fn load(self, node: &PropertyHandle<'_>) -> Result<Self::Value, Self::Error>
[src]
impl LoadProperty<'_> for MintLoader<ColumnMatrix4<f64>>
[src]
type Value = ColumnMatrix4<f64>
Value type.
type Error = Error
Error type.
pub fn expecting(&self) -> String
[src]
pub fn load(self, node: &PropertyHandle<'_>) -> Result<Self::Value, Self::Error>
[src]
impl LoadProperty<'_> for MintLoader<RowMatrix4<f32>>
[src]
type Value = RowMatrix4<f32>
Value type.
type Error = Error
Error type.
pub fn expecting(&self) -> String
[src]
pub fn load(self, node: &PropertyHandle<'_>) -> Result<Self::Value, Self::Error>
[src]
impl LoadProperty<'_> for MintLoader<RowMatrix4<f64>>
[src]
type Value = RowMatrix4<f64>
Value type.
type Error = Error
Error type.
pub fn expecting(&self) -> String
[src]
pub fn load(self, node: &PropertyHandle<'_>) -> Result<Self::Value, Self::Error>
[src]
impl LoadProperty<'_> for MintLoader<Point3<f32>>
[src]
type Value = Point3<f32>
Value type.
type Error = Error
Error type.
pub fn expecting(&self) -> String
[src]
pub fn load(self, node: &PropertyHandle<'_>) -> Result<Self::Value, Self::Error>
[src]
impl LoadProperty<'_> for MintLoader<Point3<f64>>
[src]
type Value = Point3<f64>
Value type.
type Error = Error
Error type.
pub fn expecting(&self) -> String
[src]
pub fn load(self, node: &PropertyHandle<'_>) -> Result<Self::Value, Self::Error>
[src]
impl LoadProperty<'_> for MintLoader<Vector2<f32>>
[src]
type Value = Vector2<f32>
Value type.
type Error = Error
Error type.
pub fn expecting(&self) -> String
[src]
pub fn load(self, node: &PropertyHandle<'_>) -> Result<Self::Value, Self::Error>
[src]
impl LoadProperty<'_> for MintLoader<Vector2<f64>>
[src]
type Value = Vector2<f64>
Value type.
type Error = Error
Error type.
pub fn expecting(&self) -> String
[src]
pub fn load(self, node: &PropertyHandle<'_>) -> Result<Self::Value, Self::Error>
[src]
impl LoadProperty<'_> for MintLoader<Vector3<f32>>
[src]
type Value = Vector3<f32>
Value type.
type Error = Error
Error type.
pub fn expecting(&self) -> String
[src]
pub fn load(self, node: &PropertyHandle<'_>) -> Result<Self::Value, Self::Error>
[src]
impl LoadProperty<'_> for MintLoader<Vector3<f64>>
[src]
type Value = Vector3<f64>
Value type.
type Error = Error
Error type.
pub fn expecting(&self) -> String
[src]
pub fn load(self, node: &PropertyHandle<'_>) -> Result<Self::Value, Self::Error>
[src]
impl LoadProperty<'_> for MintLoader<Vector4<f32>>
[src]
type Value = Vector4<f32>
Value type.
type Error = Error
Error type.
pub fn expecting(&self) -> String
[src]
pub fn load(self, node: &PropertyHandle<'_>) -> Result<Self::Value, Self::Error>
[src]
impl LoadProperty<'_> for MintLoader<Vector4<f64>>
[src]
type Value = Vector4<f64>
Value type.
type Error = Error
Error type.
pub fn expecting(&self) -> String
[src]
pub fn load(self, node: &PropertyHandle<'_>) -> Result<Self::Value, Self::Error>
[src]
impl<T: Ord> Ord for MintLoader<T>
[src]
pub fn cmp(&self, other: &MintLoader<T>) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl<T: PartialEq> PartialEq<MintLoader<T>> for MintLoader<T>
[src]
pub fn eq(&self, other: &MintLoader<T>) -> bool
[src]
pub fn ne(&self, other: &MintLoader<T>) -> bool
[src]
impl<T: PartialOrd> PartialOrd<MintLoader<T>> for MintLoader<T>
[src]
pub fn partial_cmp(&self, other: &MintLoader<T>) -> Option<Ordering>
[src]
pub fn lt(&self, other: &MintLoader<T>) -> bool
[src]
pub fn le(&self, other: &MintLoader<T>) -> bool
[src]
pub fn gt(&self, other: &MintLoader<T>) -> bool
[src]
pub fn ge(&self, other: &MintLoader<T>) -> bool
[src]
impl<T> StructuralEq for MintLoader<T>
[src]
impl<T> StructuralPartialEq for MintLoader<T>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for MintLoader<T>
[src]
impl<T> Send for MintLoader<T>
[src]
impl<T> Sync for MintLoader<T>
[src]
impl<T> Unpin for MintLoader<T>
[src]
impl<T> UnwindSafe for MintLoader<T>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CallHasher for T where
T: Hash,
T: Hash,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,