[−][src]Struct livesplit_core::component::title::Settings
The Settings for this component.
Fields
background: Gradient
The background shown behind the component.
text_color: Option<Color>
The color of the title text. If None
is specified, the color is taken
from the layout.
show_game_name: bool
Specifies whether the game name should be part of the title that is being shown.
show_category_name: bool
Specifies whether the category name should be part of the title that is being shown.
show_finished_runs_count: bool
Specifies whether the amount of successfully finished attempts should be shown.
show_attempt_count: bool
Specifies whether the total amount of attempts should be shown.
text_alignment: Alignment
Specifies the alignment of the title.
display_as_single_line: bool
Specifies if the title should be shown as a single line, instead of being separated into one line for the game name and one for the category name.
display_game_icon: bool
Specifies whether the game's icon should be shown, in case there is a game icon stored in the Run.
show_region: bool
The category name can be extended by additional information. This extends it by the game's region, if it is provided by the run's metadata.
show_platform: bool
The category name can be extended by additional information. This extends it by the platform the game is being played on, if it is provided by the run's metadata.
show_variables: bool
The category name can be extended by additional information. This extends it by additional variables provided by the run's metadata.
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
.