pub struct Palette {Show 19 fields
pub accent: Color32,
pub bg: Color32,
pub panel: Color32,
pub header: Color32,
pub border: Color32,
pub text: Color32,
pub text_dim: Color32,
pub clip_video: Color32,
pub clip_audio: Color32,
pub clip_image: Color32,
pub clip_text: Color32,
pub clip_sequence: Color32,
pub clip_shape: Color32,
pub clip_adjust: Color32,
pub waveform: Color32,
pub playhead: Color32,
pub in_out: Color32,
pub keyframe: Color32,
pub selection: Color32,
}Expand description
Colours for custom-painted widgets (timeline, preview, waveforms).
Fields§
§accent: Color32§bg: Color32§panel: Color32§header: Color32§border: Color32§text: Color32§text_dim: Color32§clip_video: Color32§clip_audio: Color32§clip_image: Color32§clip_text: Color32§clip_sequence: Color32§clip_shape: Color32§clip_adjust: Color32§waveform: Color32§playhead: Color32§in_out: Color32§keyframe: Color32§selection: Color32Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Palette
impl RefUnwindSafe for Palette
impl Send for Palette
impl Sync for Palette
impl Unpin for Palette
impl UnwindSafe for Palette
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more