pub struct TimelineTheme {
pub dot_size: f32,
pub line_width: f32,
pub dot_color: Color,
pub line_color: Color,
}Expand description
Visual parameters for the Timeline widget.
Fields§
§dot_size: f32§line_width: f32§dot_color: Color§line_color: ColorImplementations§
Source§impl TimelineTheme
impl TimelineTheme
pub fn from_tokens(tokens: &Tokens) -> Self
Trait Implementations§
Source§impl Clone for TimelineTheme
impl Clone for TimelineTheme
Source§fn clone(&self) -> TimelineTheme
fn clone(&self) -> TimelineTheme
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TimelineTheme
impl Debug for TimelineTheme
Source§impl<'de> Deserialize<'de> for TimelineTheme
impl<'de> Deserialize<'de> for TimelineTheme
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TimelineTheme
impl PartialEq for TimelineTheme
Source§impl Serialize for TimelineTheme
impl Serialize for TimelineTheme
impl StructuralPartialEq for TimelineTheme
Auto Trait Implementations§
impl Freeze for TimelineTheme
impl RefUnwindSafe for TimelineTheme
impl Send for TimelineTheme
impl Sync for TimelineTheme
impl Unpin for TimelineTheme
impl UnsafeUnpin for TimelineTheme
impl UnwindSafe for TimelineTheme
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