pub struct LutRequest {
pub paint_index: usize,
}Expand description
A gradient whose colour ramp is not yet resident in the GradientCache.
Names the EncodedPaint entry to bake, not the gradient itself, because the
encoded entry is what carries the cache key the ramp is stored under.
Fields§
§paint_index: usizeIndex of the gradient entry in the encoded-paint side table.
Trait Implementations§
Source§impl Clone for LutRequest
impl Clone for LutRequest
impl Copy for LutRequest
Source§impl Debug for LutRequest
impl Debug for LutRequest
impl Eq for LutRequest
Source§impl PartialEq for LutRequest
impl PartialEq for LutRequest
impl StructuralPartialEq for LutRequest
Auto Trait Implementations§
impl Freeze for LutRequest
impl RefUnwindSafe for LutRequest
impl Send for LutRequest
impl Sync for LutRequest
impl Unpin for LutRequest
impl UnsafeUnpin for LutRequest
impl UnwindSafe for LutRequest
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.