pub struct Node<U = u32, F = f64>where
U: Unsigned + Copy + Debug,
F: Float + Debug,
Error: From<U::FromStrRadixErr> + From<F::FromStrRadixErr>,{
pub id: U,
pub coordinate: [F; 3],
}Expand description
Defines the ID and location for each node of the mesh.
Corresponds to the card ND.
Fields§
§id: UThe ID of the node.
coordinate: [F; 3]The x, y, and z coordinates of the point.
Trait Implementations§
Source§impl<U, F> FromStr for Node<U, F>where
U: Unsigned + Copy + Debug,
F: Float + Debug,
Error: From<U::FromStrRadixErr> + From<F::FromStrRadixErr>,
impl<U, F> FromStr for Node<U, F>where
U: Unsigned + Copy + Debug,
F: Float + Debug,
Error: From<U::FromStrRadixErr> + From<F::FromStrRadixErr>,
impl<U, F> Copy for Node<U, F>
impl<U, F> StructuralPartialEq for Node<U, F>where
U: Unsigned + Copy + Debug,
F: Float + Debug,
Error: From<U::FromStrRadixErr> + From<F::FromStrRadixErr>,
Auto Trait Implementations§
impl<U, F> Freeze for Node<U, F>
impl<U, F> RefUnwindSafe for Node<U, F>
impl<U, F> Send for Node<U, F>
impl<U, F> Sync for Node<U, F>
impl<U, F> Unpin for Node<U, F>
impl<U, F> UnwindSafe for Node<U, F>
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