pub struct LineListView<'a> {
pub positions_xyz: &'a [f32],
}Expand description
Borrowed pairs of line endpoints stored as interleaved XYZ values.
Fields§
§positions_xyz: &'a [f32]Interleaved XYZ endpoint data; every six values form one segment.
Implementations§
Source§impl<'a> LineListView<'a>
impl<'a> LineListView<'a>
Trait Implementations§
Source§impl<'a> Clone for LineListView<'a>
impl<'a> Clone for LineListView<'a>
Source§fn clone(&self) -> LineListView<'a>
fn clone(&self) -> LineListView<'a>
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 moreSource§impl<'a> Debug for LineListView<'a>
impl<'a> Debug for LineListView<'a>
Source§impl<'a> PartialEq for LineListView<'a>
impl<'a> PartialEq for LineListView<'a>
Source§fn eq(&self, other: &LineListView<'a>) -> bool
fn eq(&self, other: &LineListView<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> Copy for LineListView<'a>
impl<'a> StructuralPartialEq for LineListView<'a>
Auto Trait Implementations§
impl<'a> Freeze for LineListView<'a>
impl<'a> RefUnwindSafe for LineListView<'a>
impl<'a> Send for LineListView<'a>
impl<'a> Sync for LineListView<'a>
impl<'a> Unpin for LineListView<'a>
impl<'a> UnsafeUnpin for LineListView<'a>
impl<'a> UnwindSafe for LineListView<'a>
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