pub struct LineRecord {
pub ax: i32,
pub ay: i32,
pub bx: i32,
pub by: i32,
}Expand description
A measure’s two endpoints, flat rather than nested, so a consumer
reads ax instead of a.x for a thing that is always exactly two
points.
Fields§
§ax: i32§ay: i32§bx: i32§by: i32Trait Implementations§
Source§impl Clone for LineRecord
impl Clone for LineRecord
Source§fn clone(&self) -> LineRecord
fn clone(&self) -> LineRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LineRecord
Source§impl Debug for LineRecord
impl Debug for LineRecord
Source§impl<'de> Deserialize<'de> for LineRecord
impl<'de> Deserialize<'de> for LineRecord
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 Eq for LineRecord
Source§impl From<Line> for LineRecord
impl From<Line> for LineRecord
Source§impl PartialEq for LineRecord
impl PartialEq for LineRecord
Source§impl Serialize for LineRecord
impl Serialize for LineRecord
impl StructuralPartialEq for LineRecord
Auto Trait Implementations§
impl Freeze for LineRecord
impl RefUnwindSafe for LineRecord
impl Send for LineRecord
impl Sync for LineRecord
impl Unpin for LineRecord
impl UnsafeUnpin for LineRecord
impl UnwindSafe for LineRecord
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
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.