pub enum Term {
Constant(f32),
Source(u8),
Add([u8; 2]),
Subtract([u8; 2]),
Multiply([u8; 2]),
Min([u8; 2]),
Max([u8; 2]),
Saturate(u8),
}Expand description
One value of an Expression: a constant, a source, or one operation on earlier terms (by their index).
Variants§
Constant(f32)
A finite constant.
Source(u8)
The value of Expression::sources’ source at this index.
Add([u8; 2])
Subtract([u8; 2])
The first minus the second.
Multiply([u8; 2])
Min([u8; 2])
Max([u8; 2])
Saturate(u8)
Implementations§
Trait Implementations§
impl Copy for Term
impl StructuralPartialEq for Term
Auto Trait Implementations§
impl Forget for Term
impl Freeze for Term
impl RefUnwindSafe for Term
impl Send for Term
impl Sync for Term
impl Unpin for Term
impl UnsafeUnpin for Term
impl UnwindSafe for Term
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