pub struct Lines {}
Fields§
§x: Vec<f32>
§y: Vec<f32>
§ids: Vec<Option<GeomId>>
§orders: Vec<u32>
§x0: Vec<f32>
§y0: Vec<f32>
§dx: Vec<f32>
§dy: Vec<f32>
§a: Vec<f32>
§b: Vec<f32>
§c: Vec<f32>
§d: Vec<f32>
§points: Vec<[f32; 2]>
§lengths: Vec<u32>
Implementations§
Source§impl Lines
impl Lines
pub fn unwrap(self) -> LinesBuilder
pub fn segments_count(&self) -> usize
pub fn lines_count(&self) -> usize
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Lines
impl RefUnwindSafe for Lines
impl Send for Lines
impl Sync for Lines
impl Unpin for Lines
impl UnwindSafe for Lines
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more