#[non_exhaustive]pub struct HorizontalPlan {
pub curve: Curve2,
pub sources: Vec<EntityId>,
pub seams: Vec<HorizontalSeam>,
}Expand description
A horizontal layout lowered to one exact plan curve.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.curve: Curve2The whole layout as one Curve2::Intrinsic, or a Curve2::Chain
when it holds a CUBIC, parameterised by distance along the plan
from the first segment’s start.
sources: Vec<EntityId>The segments it was lowered from, in authored order.
seams: Vec<HorizontalSeam>Every seam between consecutive segments and how it was checked, including the seam before a closing zero-length segment.
Trait Implementations§
Source§impl Clone for HorizontalPlan
impl Clone for HorizontalPlan
Source§impl Debug for HorizontalPlan
impl Debug for HorizontalPlan
Source§impl PartialEq for HorizontalPlan
impl PartialEq for HorizontalPlan
impl StructuralPartialEq for HorizontalPlan
Auto Trait Implementations§
impl Freeze for HorizontalPlan
impl RefUnwindSafe for HorizontalPlan
impl Send for HorizontalPlan
impl Sync for HorizontalPlan
impl Unpin for HorizontalPlan
impl UnsafeUnpin for HorizontalPlan
impl UnwindSafe for HorizontalPlan
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