[−][src]Struct livesplit_core::component::graph::Settings
The Settings for this component.
Fields
comparison_override: Option<String>
The comparison chosen. Uses the Timer's current comparison if set to
None
.
show_best_segments: bool
Specifies if the best segments should be colored with the layout's best segment color.
live_graph: bool
Specifies if the graph should automatically adjust to all the changes automatically. If this is deactivated, the only changes to the graph happen whenever the current segment changes.
flip_graph: bool
Flips the graph. If set to false
, the times ahead of the comparison
are at bottom and the times behind are at the top. This settings flips
it.
behind_background_color: Color
The background color shown for the region behind the graph that shows the times that are behind the comparison.
ahead_background_color: Color
The background color shown for the region behind the graph that shows the times that are ahead of the comparison.
grid_lines_color: Color
The color of the grid lines on the graph.
graph_lines_color: Color
The color of the lines connecting all the graph's points.
partial_fill_color: Color
The color of the polygon connecting all the graph's points. The partial fill color is only used for live changes.
complete_fill_color: Color
The color of the polygon connecting all the graph's points.
height: u32
The height of the graph.
Trait Implementations
impl Default for Settings
[src]
impl Clone for Settings
[src]
fn clone(&self) -> Settings
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Serialize for Settings
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Settings where
Settings: Default,
[src]
Settings: Default,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
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]
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
fn adapt_into_using<M>(self, method: M) -> D where
M: TransformMatrix<Swp, Dwp, T>,
[src]
M: TransformMatrix<Swp, Dwp, T>,
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>,
T: Parameter<Self>,
Sets value
as a parameter of self
.