pub struct DetailMark {
pub id: String,
pub label: String,
pub centre: [f64; 2],
pub radius_mm: f64,
pub lines: Vec<Vec<[f64; 2]>>,
pub texts: Vec<SheetText>,
}Expand description
One detail CIRCLE, drawn on the placement it was picked on: the circle round the region the detail redraws, and its letter beside it.
Fields§
§id: StringThe DETAIL placement’s id — which view this circle is the region of.
label: String§centre: [f64; 2]§radius_mm: f64§lines: Vec<Vec<[f64; 2]>>§texts: Vec<SheetText>Trait Implementations§
Source§impl Clone for DetailMark
impl Clone for DetailMark
Source§impl Debug for DetailMark
impl Debug for DetailMark
Source§impl PartialEq for DetailMark
impl PartialEq for DetailMark
Source§impl Serialize for DetailMark
impl Serialize for DetailMark
impl StructuralPartialEq for DetailMark
Auto Trait Implementations§
impl Freeze for DetailMark
impl RefUnwindSafe for DetailMark
impl Send for DetailMark
impl Sync for DetailMark
impl Unpin for DetailMark
impl UnsafeUnpin for DetailMark
impl UnwindSafe for DetailMark
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more