pub struct Segment {
pub a: Expr<Point>,
pub b: Expr<Point>,
}
Expand description
A segment with two delimiting points.
Fields§
§a: Expr<Point>
§b: Expr<Point>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Segment
impl !RefUnwindSafe for Segment
impl !Send for Segment
impl !Sync for Segment
impl Unpin for Segment
impl !UnwindSafe for Segment
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> Convert for T
impl<T> Convert for T
Source§fn convert<U>(self, context: &CompileContext) -> Expr<U>where
U: ConvertFrom<T>,
fn convert<U>(self, context: &CompileContext) -> Expr<U>where
U: ConvertFrom<T>,
Convert
self
into a specific type. Read moreSource§fn can_convert<U>(&self) -> boolwhere
U: ConvertFrom<T>,
fn can_convert<U>(&self) -> boolwhere
U: ConvertFrom<T>,
Check if
self
can be converted into a specific type. Read more