pub struct AppearanceConfig {
pub default_font: String,
pub default_font_size: f64,
pub border_width: f64,
pub border_color: [f64; 3],
pub background_color: Option<[f64; 3]>,
pub text_color: [f64; 3],
pub text_padding: f64,
}Expand description
Configuration for appearance stream generation.
Fields§
§default_font: Stringdefault_font.
default_font_size: f64default_font_size.
border_width: f64border_width.
border_color: [f64; 3]border_color.
background_color: Option<[f64; 3]>background_color.
text_color: [f64; 3]text_color.
text_padding: f64text_padding.
Trait Implementations§
Source§impl Clone for AppearanceConfig
impl Clone for AppearanceConfig
Source§fn clone(&self) -> AppearanceConfig
fn clone(&self) -> AppearanceConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AppearanceConfig
impl Debug for AppearanceConfig
Auto Trait Implementations§
impl Freeze for AppearanceConfig
impl RefUnwindSafe for AppearanceConfig
impl Send for AppearanceConfig
impl Sync for AppearanceConfig
impl Unpin for AppearanceConfig
impl UnsafeUnpin for AppearanceConfig
impl UnwindSafe for AppearanceConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().