pub struct LUT {
pub template: CompactString,
pub indices: [Vec<f32>; 3],
pub values: Vec<f32>,
pub values_unit: f32,
}Expand description
A LUT with associated template.
The indices can come from an ad-hoc definition, or inherited from the template. We handle this for you.
The values are NOT normalized with the values_unit.
Fields§
§template: CompactStringThe template name which can be used to look up in parent Lib structs.
indices: [Vec<f32>; 3]The indices.
Unused axes are empty vectors.
values: Vec<f32>A flattened values list
values_unit: f32Unit of values.
currently it is most likely the same as Units::time.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LUT
impl RefUnwindSafe for LUT
impl Send for LUT
impl Sync for LUT
impl Unpin for LUT
impl UnwindSafe for LUT
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more