pub struct Ramps<'a> {
pub data: &'a [u32],
pub width: u32,
pub height: u32,
}Expand description
Data and dimensions for a set of resolved gradient ramps.
Fields§
§data: &'a [u32]§width: u32§height: u32Trait Implementations§
impl<'a> Copy for Ramps<'a>
Auto Trait Implementations§
impl<'a> Forget for Ramps<'a>
impl<'a> Freeze for Ramps<'a>
impl<'a> Move for Ramps<'a>
impl<'a> RefUnwindSafe for Ramps<'a>
impl<'a> Send for Ramps<'a>
impl<'a> Sync for Ramps<'a>
impl<'a> Unpin for Ramps<'a>
impl<'a> UnsafeUnpin for Ramps<'a>
impl<'a> UnwindSafe for Ramps<'a>
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