pub struct LineDashPattern {
pub array: Vec<f64>,
pub phase: f64,
}Expand description
Line dash pattern specification
Fields§
§array: Vec<f64>Array of dash and gap lengths
phase: f64Phase offset
Implementations§
Source§impl LineDashPattern
impl LineDashPattern
Sourcepub fn to_pdf_string(&self) -> String
pub fn to_pdf_string(&self) -> String
Generate PDF representation of the line dash pattern
Trait Implementations§
Source§impl Clone for LineDashPattern
impl Clone for LineDashPattern
Source§fn clone(&self) -> LineDashPattern
fn clone(&self) -> LineDashPattern
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 LineDashPattern
impl Debug for LineDashPattern
Source§impl PartialEq for LineDashPattern
impl PartialEq for LineDashPattern
impl StructuralPartialEq for LineDashPattern
Auto Trait Implementations§
impl Freeze for LineDashPattern
impl RefUnwindSafe for LineDashPattern
impl Send for LineDashPattern
impl Sync for LineDashPattern
impl Unpin for LineDashPattern
impl UnwindSafe for LineDashPattern
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