pub struct DisplayDefaultConfig {
pub color: Colour,
pub size: f32,
pub line_weight: u8,
pub line_style: String,
pub text_align: TextAlign,
}Fields§
§color: Colour§size: f32§line_weight: u8§line_style: String§text_align: TextAlignTrait Implementations§
Source§impl Clone for DisplayDefaultConfig
impl Clone for DisplayDefaultConfig
Source§fn clone(&self) -> DisplayDefaultConfig
fn clone(&self) -> DisplayDefaultConfig
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 DisplayDefaultConfig
impl Debug for DisplayDefaultConfig
Source§impl Default for DisplayDefaultConfig
impl Default for DisplayDefaultConfig
Source§fn default() -> DisplayDefaultConfig
fn default() -> DisplayDefaultConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DisplayDefaultConfig
impl<'de> Deserialize<'de> for DisplayDefaultConfig
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
Auto Trait Implementations§
impl Freeze for DisplayDefaultConfig
impl RefUnwindSafe for DisplayDefaultConfig
impl Send for DisplayDefaultConfig
impl Sync for DisplayDefaultConfig
impl Unpin for DisplayDefaultConfig
impl UnwindSafe for DisplayDefaultConfig
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