pub enum LineAlg {
Bresenham,
Vector,
}
Expand description
Enumeration of available 2D Distance algorithms
Variants§
Bresenham
Use Bresenham’s rasterization algorithm for line definition
Vector
Use a vector approach to line solving.
Auto Trait Implementations§
impl Freeze for LineAlg
impl RefUnwindSafe for LineAlg
impl Send for LineAlg
impl Sync for LineAlg
impl Unpin for LineAlg
impl UnwindSafe for LineAlg
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