pub struct SurfaceCut {
pub section: SectionKey,
pub shape: CutShape,
pub notes: Vec<String>,
pub sources: Vec<Vec<CutSource>>,
}Expand description
A surface or grid cut along one section.
Fields§
§section: SectionKeyWhich section.
shape: CutShapeWhat is drawn.
notes: Vec<String>What the cut could not say - a folded span dropped, and why.
sources: Vec<Vec<CutSource>>Where each point of a Trace cut comes from on the surface, parallel
to spans (one list per span, one source per point) - what lets a
colour given per node of the surface (View::paints) be laid along
the cut. Empty for an envelope, and when the reader cannot say: the cut
is then drawn in the object’s flat colour, as before.
Trait Implementations§
Source§impl Clone for SurfaceCut
impl Clone for SurfaceCut
Source§impl Debug for SurfaceCut
impl Debug for SurfaceCut
Source§impl<'de> Deserialize<'de> for SurfaceCut
impl<'de> Deserialize<'de> for SurfaceCut
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 SurfaceCut
impl PartialEq for SurfaceCut
Source§impl Serialize for SurfaceCut
impl Serialize for SurfaceCut
impl StructuralPartialEq for SurfaceCut
Auto Trait Implementations§
impl Freeze for SurfaceCut
impl RefUnwindSafe for SurfaceCut
impl Send for SurfaceCut
impl Sync for SurfaceCut
impl Unpin for SurfaceCut
impl UnsafeUnpin for SurfaceCut
impl UnwindSafe for SurfaceCut
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