pub struct LineBuilder { /* private fields */ }
Implementations§
Source§impl LineBuilder
impl LineBuilder
pub fn id(self, id: i64) -> LineBuilder
pub fn extension_ratio(self, extension_ratio: f64) -> LineBuilder
pub fn line_type(self, line_type: LineType) -> LineBuilder
pub fn flipped(self, flipped: bool) -> LineBuilder
pub fn point(self, p1: f64, p2: f64) -> LineBuilder
pub fn point_vec(self, point: Vector2D) -> LineBuilder
pub fn extended(self, extended: bool) -> LineBuilder
pub fn build(self) -> Line
Auto Trait Implementations§
impl Freeze for LineBuilder
impl RefUnwindSafe for LineBuilder
impl Send for LineBuilder
impl Sync for LineBuilder
impl Unpin for LineBuilder
impl UnwindSafe for LineBuilder
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