pub struct PatternDef {
pub name: String,
pub bands: Vec<Band>,
pub twill: bool,
}Expand description
A woven check: the bands, repeated across and down, colored where they
cross; with twill, fine diagonal lines over it.
Fields§
§name: String§bands: Vec<Band>§twill: boolTrait Implementations§
Source§impl Clone for PatternDef
impl Clone for PatternDef
Source§impl Debug for PatternDef
impl Debug for PatternDef
Source§impl<'de> Deserialize<'de> for PatternDef
impl<'de> Deserialize<'de> for PatternDef
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 PatternDef
impl PartialEq for PatternDef
Source§impl Serialize for PatternDef
impl Serialize for PatternDef
impl StructuralPartialEq for PatternDef
Auto Trait Implementations§
impl Freeze for PatternDef
impl RefUnwindSafe for PatternDef
impl Send for PatternDef
impl Sync for PatternDef
impl Unpin for PatternDef
impl UnsafeUnpin for PatternDef
impl UnwindSafe for PatternDef
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