pub struct Joint {
pub kind: JointKind,
pub px: f64,
pub colour: String,
pub alpha: f64,
}Expand description
A mark along a painted well: a stretch of px pixels centred on the node,
in colour at alpha - alpha 0 is a gap.
Fields§
§kind: JointKindWhere.
px: f64Its length along the well, pixels of the drawing.
colour: String#rrggbb.
alpha: f640 (a gap) to 1.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Joint
impl<'de> Deserialize<'de> for Joint
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 Joint
Auto Trait Implementations§
impl Freeze for Joint
impl RefUnwindSafe for Joint
impl Send for Joint
impl Sync for Joint
impl Unpin for Joint
impl UnsafeUnpin for Joint
impl UnwindSafe for Joint
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