pub struct Vertex<P, A> {
pub pos: P,
pub attrib: A,
}Expand description
Vertex with a position and arbitrary other attributes.
Fields§
§pos: P§attrib: ATrait Implementations§
impl<P: Copy, A: Copy> Copy for Vertex<P, A>
impl<P: Eq, A: Eq> Eq for Vertex<P, A>
impl<P, A> StructuralPartialEq for Vertex<P, A>
Auto Trait Implementations§
impl<P, A> Freeze for Vertex<P, A>
impl<P, A> RefUnwindSafe for Vertex<P, A>where
P: RefUnwindSafe,
A: RefUnwindSafe,
impl<P, A> Send for Vertex<P, A>
impl<P, A> Sync for Vertex<P, A>
impl<P, A> Unpin for Vertex<P, A>
impl<P, A> UnwindSafe for Vertex<P, A>where
P: UnwindSafe,
A: UnwindSafe,
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