pub struct PathLayout {
pub path: PatternPath,
pub count: u32,
pub spacing: Option<f64>,
pub reversed: bool,
pub align: bool,
}Expand description
Occurrences at stations along a path by arc length, the original at
the first: occurrence k is moved from where the first station stands
to where the k-th does, turned as the path turns between them when
align.
Fields§
§path: PatternPath§count: u32Occurrences, the original counted.
spacing: Option<f64>Millimetres between neighbours along the path; None spreads them
over the whole of it, evenly round it when it closes.
reversed: boolWalk the path from its end.
align: boolTurn each copy as the path’s direction turns from the first station to its own, carried along the path without twisting.
Trait Implementations§
Source§impl Clone for PathLayout
impl Clone for PathLayout
Source§impl Debug for PathLayout
impl Debug for PathLayout
Source§impl<'de> Deserialize<'de> for PathLayout
impl<'de> Deserialize<'de> for PathLayout
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 PathLayout
impl PartialEq for PathLayout
Source§impl Serialize for PathLayout
impl Serialize for PathLayout
impl StructuralPartialEq for PathLayout
Auto Trait Implementations§
impl Freeze for PathLayout
impl RefUnwindSafe for PathLayout
impl Send for PathLayout
impl Sync for PathLayout
impl Unpin for PathLayout
impl UnsafeUnpin for PathLayout
impl UnwindSafe for PathLayout
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