[][src]Struct lut_parser::CubeLut

pub struct CubeLut<T: Float> {
    pub title: String,
    pub kind: LutKind,
    pub domain_min: [T; 3],
    pub domain_max: [T; 3],
    pub size: usize,
    pub data: Vec<[T; 3]>,
}

Fields

title: Stringkind: LutKinddomain_min: [T; 3]domain_max: [T; 3]size: usizedata: Vec<[T; 3]>

Methods

impl<T: Float + FromStr<Err = ParseFloatError>> CubeLut<T>[src]

pub fn flatten_data(&self) -> &[T][src]

pub fn from_str(txt: &str) -> Result<Self, LutError>[src]

Trait Implementations

impl<T: Debug + Float> Debug for CubeLut<T>[src]

Auto Trait Implementations

impl<T> Unpin for CubeLut<T> where
    T: Unpin

impl<T> Sync for CubeLut<T> where
    T: Sync

impl<T> Send for CubeLut<T> where
    T: Send

impl<T> RefUnwindSafe for CubeLut<T> where
    T: RefUnwindSafe

impl<T> UnwindSafe for CubeLut<T> where
    T: UnwindSafe

Blanket Implementations

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

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

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]