pub struct Track {
pub flags: u32,
pub n: u32,
pub stops: [u32; 16],
pub custom: Option<(DrawRef, usize, u32)>,
}Expand description
TRACK – the colour gradient of track_slider: TK_* flags and 1..TK_MAXN straight-ARGB
stops; with TK_CUSTOM the track is drawn by custom (draw object, user value, version:
bump it when the drawing changes) instead
Fields§
§flags: u32§n: u32§stops: [u32; 16]§custom: Option<(DrawRef, usize, u32)>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Track
impl !Send for Track
impl !Sync for Track
impl !UnwindSafe for Track
impl Forget for Track
impl Freeze for Track
impl Unpin for Track
impl UnsafeUnpin for Track
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