pub struct BackgroundConfig {
pub variant: BackgroundVariant,
pub color: String,
pub pattern_color: String,
pub size: f64,
pub opacity: f64,
}Expand description
Background pattern configuration
Fields§
§variant: BackgroundVariant§color: String§pattern_color: String§size: f64§opacity: f64Trait Implementations§
Source§impl Clone for BackgroundConfig
impl Clone for BackgroundConfig
Source§fn clone(&self) -> BackgroundConfig
fn clone(&self) -> BackgroundConfig
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 BackgroundConfig
impl Debug for BackgroundConfig
Source§impl Default for BackgroundConfig
impl Default for BackgroundConfig
Source§impl PartialEq for BackgroundConfig
impl PartialEq for BackgroundConfig
impl StructuralPartialEq for BackgroundConfig
Auto Trait Implementations§
impl Freeze for BackgroundConfig
impl RefUnwindSafe for BackgroundConfig
impl Send for BackgroundConfig
impl Sync for BackgroundConfig
impl Unpin for BackgroundConfig
impl UnwindSafe for BackgroundConfig
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