pub struct LineRef {
pub from: AnchorRef,
pub to: AnchorRef,
}Expand description
A line defined by two anchors (segment endpoints, polyline vertices, wall ends…).
Fields§
§from: AnchorRefStart anchor.
to: AnchorRefEnd anchor.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LineRef
impl<'de> Deserialize<'de> for LineRef
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 LineRef
Source§impl Ord for LineRef
impl Ord for LineRef
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for LineRef
impl PartialOrd for LineRef
impl StructuralPartialEq for LineRef
Auto Trait Implementations§
impl Freeze for LineRef
impl RefUnwindSafe for LineRef
impl Send for LineRef
impl Sync for LineRef
impl Unpin for LineRef
impl UnsafeUnpin for LineRef
impl UnwindSafe for LineRef
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