pub struct PlanWell {
pub object: ObjectId,
pub head: [f64; 2],
pub feet: Vec<(SectionKey, [f64; 2])>,
pub rejected: Option<String>,
}Expand description
A well in the plan.
Fields§
§object: ObjectIdThe object.
head: [f64; 2]Its head, local [x, y].
feet: Vec<(SectionKey, [f64; 2])>Where it was projected, on which section, with its foot (local) - empty for a well projected nowhere.
rejected: Option<String>Why it was projected nowhere, when it was not (beyond an end, too far…).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PlanWell
impl<'de> Deserialize<'de> for PlanWell
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 PlanWell
Auto Trait Implementations§
impl Freeze for PlanWell
impl RefUnwindSafe for PlanWell
impl Send for PlanWell
impl Sync for PlanWell
impl Unpin for PlanWell
impl UnsafeUnpin for PlanWell
impl UnwindSafe for PlanWell
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