pub struct ProgressTheme {
pub height: f32,
pub track_color: Color,
pub bar_color: Color,
}Expand description
Visual parameters for the ProgressBar widget.
Fields§
§height: f32§track_color: Color§bar_color: ColorImplementations§
Source§impl ProgressTheme
impl ProgressTheme
pub fn from_tokens(tokens: &Tokens) -> Self
Trait Implementations§
Source§impl Clone for ProgressTheme
impl Clone for ProgressTheme
Source§fn clone(&self) -> ProgressTheme
fn clone(&self) -> ProgressTheme
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 ProgressTheme
impl Debug for ProgressTheme
Source§impl<'de> Deserialize<'de> for ProgressTheme
impl<'de> Deserialize<'de> for ProgressTheme
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 ProgressTheme
impl PartialEq for ProgressTheme
Source§impl Serialize for ProgressTheme
impl Serialize for ProgressTheme
impl StructuralPartialEq for ProgressTheme
Auto Trait Implementations§
impl Freeze for ProgressTheme
impl RefUnwindSafe for ProgressTheme
impl Send for ProgressTheme
impl Sync for ProgressTheme
impl Unpin for ProgressTheme
impl UnsafeUnpin for ProgressTheme
impl UnwindSafe for ProgressTheme
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