pub struct OverlayStyleConfig {
pub background_color: OverlayColorMode,
pub text_color: OverlayColorMode,
pub error_color: OverlayColorMode,
pub shape: OverlayShape,
pub borders: bool,
pub border_source: OverlayBorderSource,
}Fields§
§background_color: OverlayColorMode§text_color: OverlayColorMode§error_color: OverlayColorMode§shape: OverlayShape§borders: bool§border_source: OverlayBorderSourceTrait Implementations§
Source§impl Clone for OverlayStyleConfig
impl Clone for OverlayStyleConfig
Source§fn clone(&self) -> OverlayStyleConfig
fn clone(&self) -> OverlayStyleConfig
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 moreimpl Copy for OverlayStyleConfig
Source§impl Debug for OverlayStyleConfig
impl Debug for OverlayStyleConfig
Source§impl Default for OverlayStyleConfig
impl Default for OverlayStyleConfig
Source§impl PartialEq for OverlayStyleConfig
impl PartialEq for OverlayStyleConfig
Source§fn eq(&self, other: &OverlayStyleConfig) -> bool
fn eq(&self, other: &OverlayStyleConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OverlayStyleConfig
Auto Trait Implementations§
impl Freeze for OverlayStyleConfig
impl RefUnwindSafe for OverlayStyleConfig
impl Send for OverlayStyleConfig
impl Sync for OverlayStyleConfig
impl Unpin for OverlayStyleConfig
impl UnsafeUnpin for OverlayStyleConfig
impl UnwindSafe for OverlayStyleConfig
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