pub struct CachedRamp {
pub lut_start: u32,
pub width: u32,
}Expand description
Where one cached gradient ramp lives in the packed LUT buffer.
Fields§
§lut_start: u32Texel offset at which this ramp starts.
width: u32Width of this ramp in texels.
Trait Implementations§
Source§impl Clone for CachedRamp
impl Clone for CachedRamp
impl Copy for CachedRamp
Source§impl Debug for CachedRamp
impl Debug for CachedRamp
impl Eq for CachedRamp
Source§impl PartialEq for CachedRamp
impl PartialEq for CachedRamp
impl StructuralPartialEq for CachedRamp
Auto Trait Implementations§
impl Freeze for CachedRamp
impl RefUnwindSafe for CachedRamp
impl Send for CachedRamp
impl Sync for CachedRamp
impl Unpin for CachedRamp
impl UnsafeUnpin for CachedRamp
impl UnwindSafe for CachedRamp
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.