pub struct PatternFill {
pub pattern_type: Option<String>,
pub fg_color: Option<Color>,
pub bg_color: Option<Color>,
}Expand description
Pattern fill definition.
Fields§
§pattern_type: Option<String>§fg_color: Option<Color>§bg_color: Option<Color>Trait Implementations§
Source§impl Clone for PatternFill
impl Clone for PatternFill
Source§fn clone(&self) -> PatternFill
fn clone(&self) -> PatternFill
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 PatternFill
impl Debug for PatternFill
Source§impl<'de> Deserialize<'de> for PatternFill
impl<'de> Deserialize<'de> for PatternFill
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
Source§impl PartialEq for PatternFill
impl PartialEq for PatternFill
Source§impl Serialize for PatternFill
impl Serialize for PatternFill
impl StructuralPartialEq for PatternFill
Auto Trait Implementations§
impl Freeze for PatternFill
impl RefUnwindSafe for PatternFill
impl Send for PatternFill
impl Sync for PatternFill
impl Unpin for PatternFill
impl UnwindSafe for PatternFill
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