Struct printpdf::pattern::PatternList
source · pub struct PatternList { /* private fields */ }
Implementations§
source§impl PatternList
impl PatternList
sourcepub fn add_pattern(&mut self, pattern: Pattern) -> PatternRef
pub fn add_pattern(&mut self, pattern: Pattern) -> PatternRef
Adds a new pattern to the pattern list
Trait Implementations§
source§impl Clone for PatternList
impl Clone for PatternList
source§fn clone(&self) -> PatternList
fn clone(&self) -> PatternList
Returns a copy 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 PatternList
impl Debug for PatternList
source§impl Default for PatternList
impl Default for PatternList
source§fn default() -> PatternList
fn default() -> PatternList
Returns the “default value” for a type. Read more
source§impl From<PatternList> for Dictionary
impl From<PatternList> for Dictionary
source§fn from(_val: PatternList) -> Self
fn from(_val: PatternList) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for PatternList
impl Send for PatternList
impl Sync for PatternList
impl Unpin for PatternList
impl UnwindSafe for PatternList
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