pub struct Vertex {
pub id: Id,
pub position: Point3<f32>,
pub halfedges: SmallVec<[Id; 4]>,
pub prev: Id,
pub next: Id,
pub alive: bool,
pub source: i32,
}
Fields§
§id: Id
§position: Point3<f32>
§halfedges: SmallVec<[Id; 4]>
This is at the time of writing used as a set but is implemented using a SmallVec. Finding or implementing something like a “SmallSet” could provide a better API.
prev: Id
§next: Id
§alive: bool
§source: i32
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Vertex
impl RefUnwindSafe for Vertex
impl Send for Vertex
impl Sync for Vertex
impl Unpin for Vertex
impl UnwindSafe for Vertex
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