pub struct LaidInterval {
pub from: f64,
pub to: f64,
pub unit: String,
pub unit_uri: Option<String>,
pub colour: String,
pub width: f64,
pub points: Vec<[f64; 2]>,
pub tick: Option<[[f64; 2]; 2]>,
}Expand description
One stratigraphic interval of a well, drawn.
Fields§
§from: f64MD start.
to: f64MD end.
unit: StringThe unit’s title.
unit_uri: Option<String>The unit’s full uri, when the interval names one - what the front end finds the unit by (never its title).
colour: StringThe colour drawn - the interval’s own, or the well’s when it has none.
width: f64The line’s width, pixels - the well’s.
points: Vec<[f64; 2]>The piece of path, pixels.
tick: Option<[[f64; 2]; 2]>A short black line across the well where this interval begins against
the end of the one before it (View::strata_ticks): its two ends, pixels.
Trait Implementations§
Source§impl Clone for LaidInterval
impl Clone for LaidInterval
Source§impl Debug for LaidInterval
impl Debug for LaidInterval
Source§impl PartialEq for LaidInterval
impl PartialEq for LaidInterval
impl StructuralPartialEq for LaidInterval
Auto Trait Implementations§
impl Freeze for LaidInterval
impl RefUnwindSafe for LaidInterval
impl Send for LaidInterval
impl Sync for LaidInterval
impl Unpin for LaidInterval
impl UnsafeUnpin for LaidInterval
impl UnwindSafe for LaidInterval
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