pub struct SheetOrdinate {
pub id: String,
pub axis: String,
pub datum: String,
pub members: Vec<String>,
pub offset_mm: f64,
pub precision: u32,
pub tolerance: SheetTolerance,
}Expand description
One ordinate set on a sheet.
Fields§
§id: String§axis: StringHORIZONTAL or VERTICAL.
datum: StringThe anchor reference every member is measured FROM. Empty is a set with no datum — what the form leaves behind when its datum row is cleared, and the engine deletes the set rather than keeping it.
members: Vec<String>The measured anchors, in the order they read.
offset_mm: f64The baseline’s signed distance from the datum, paper millimetres.
precision: u32§tolerance: SheetToleranceThe tolerance block every MEMBER’s value is written with. The datum
reads a plain 0.000: it is the origin the others are measured from,
exact by definition.
Implementations§
Source§impl SheetOrdinate
impl SheetOrdinate
Trait Implementations§
Source§impl Clone for SheetOrdinate
impl Clone for SheetOrdinate
Source§impl Debug for SheetOrdinate
impl Debug for SheetOrdinate
Source§impl<'de> Deserialize<'de> for SheetOrdinate
impl<'de> Deserialize<'de> for SheetOrdinate
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
Source§impl PartialEq for SheetOrdinate
impl PartialEq for SheetOrdinate
Source§impl Serialize for SheetOrdinate
impl Serialize for SheetOrdinate
impl StructuralPartialEq for SheetOrdinate
Auto Trait Implementations§
impl Freeze for SheetOrdinate
impl RefUnwindSafe for SheetOrdinate
impl Send for SheetOrdinate
impl Sync for SheetOrdinate
impl Unpin for SheetOrdinate
impl UnsafeUnpin for SheetOrdinate
impl UnwindSafe for SheetOrdinate
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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