[][src]Struct livesplit_core::component::detailed_timer::Settings

pub struct Settings {
    pub background: Gradient,
    pub comparison1: Option<String>,
    pub comparison2: Option<String>,
    pub hide_second_comparison: bool,
    pub timer: Settings,
    pub segment_timer: Settings,
    pub display_icon: bool,
    pub show_segment_name: bool,
}

The Settings for this component.

Fields

background: Gradient

The background shown behind the component.

comparison1: Option<String>

The first comparison to show the segment time of. If it's not specified, the current comparison is used.

comparison2: Option<String>

The first comparison to show the segment time of. If it's not specified, the current comparison is used, unless the first comparison is also None. This is not shown if the second comparison is hidden.

hide_second_comparison: bool

Specifies whether to only show a single comparison.

timer: Settings

The settings of the attempt timer.

segment_timer: Settings

The settings of the segment timer.

display_icon: bool

Specifies whether the segment icon should be shown.

show_segment_name: bool

Specifies whether the segment name should be shown.

Trait Implementations

impl Clone for Settings[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Default for Settings[src]

impl Serialize for Settings[src]

impl<'de> Deserialize<'de> for Settings where
    Settings: Default
[src]

Auto Trait Implementations

impl Send for Settings

impl Sync for Settings

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]

fn adapt_into(self) -> D[src]

Convert the source color to the destination color using the bradford method by default Read more

impl<T> SetParameter for T

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 

Sets value as a parameter of self.