pub struct LayoutEdgePosition {
pub edge: EdgeId,
pub position: EdgePosition,
}Expand description
Resolved endpoint geometry for one visible edge in a layout-facts query.
Fields§
§edge: EdgeId§position: EdgePositionImplementations§
Source§impl LayoutEdgePosition
impl LayoutEdgePosition
pub fn new(edge: EdgeId, position: EdgePosition) -> Self
Trait Implementations§
Source§impl Clone for LayoutEdgePosition
impl Clone for LayoutEdgePosition
Source§fn clone(&self) -> LayoutEdgePosition
fn clone(&self) -> LayoutEdgePosition
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 LayoutEdgePosition
Source§impl Debug for LayoutEdgePosition
impl Debug for LayoutEdgePosition
Source§impl PartialEq for LayoutEdgePosition
impl PartialEq for LayoutEdgePosition
Source§fn eq(&self, other: &LayoutEdgePosition) -> bool
fn eq(&self, other: &LayoutEdgePosition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LayoutEdgePosition
Auto Trait Implementations§
impl Freeze for LayoutEdgePosition
impl RefUnwindSafe for LayoutEdgePosition
impl Send for LayoutEdgePosition
impl Sync for LayoutEdgePosition
impl Unpin for LayoutEdgePosition
impl UnsafeUnpin for LayoutEdgePosition
impl UnwindSafe for LayoutEdgePosition
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