pub struct Plan {
pub origin: [f64; 2],
pub system: Option<System>,
pub sections: Vec<(SectionKey, Vec<[f64; 2]>)>,
pub bands: Vec<(SectionKey, Vec<[f64; 2]>)>,
pub wells: Vec<PlanWell>,
}Expand description
The view from above, in local coordinates: the first point of the trace is
(0, 0) - no six-figure coordinates in the SVG.
Fields§
§origin: [f64; 2]The first point of the trace, in the scene’s system: what (0, 0) is.
system: Option<System>That system.
sections: Vec<(SectionKey, Vec<[f64; 2]>)>Every section’s trace, local.
bands: Vec<(SectionKey, Vec<[f64; 2]>)>Every section’s band, local.
wells: Vec<PlanWell>Every well asked for, with where it went.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Plan
impl<'de> Deserialize<'de> for Plan
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
impl StructuralPartialEq for Plan
Auto Trait Implementations§
impl Freeze for Plan
impl RefUnwindSafe for Plan
impl Send for Plan
impl Sync for Plan
impl Unpin for Plan
impl UnsafeUnpin for Plan
impl UnwindSafe for Plan
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