pub enum NodeCoords {
Twod(Vec<(usize, f64, f64)>),
Threed(Vec<(usize, f64, f64, f64)>),
}
Expand description
Node coordinates.
Variants§
Twod(Vec<(usize, f64, f64)>)
Nodes are specified by coordinates in 2-D. The first element of each tuple is the node number, the second and third elements are the x and y coordinates.
Threed(Vec<(usize, f64, f64, f64)>)
Nodes are specified by coordinates in 3-D. The first element of each tuple is the node number, the second, third and fourth elements are the x, y, and z coordinates.
Trait Implementations§
Source§impl Clone for NodeCoords
impl Clone for NodeCoords
Source§fn clone(&self) -> NodeCoords
fn clone(&self) -> NodeCoords
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for NodeCoords
impl RefUnwindSafe for NodeCoords
impl Send for NodeCoords
impl Sync for NodeCoords
impl Unpin for NodeCoords
impl UnwindSafe for NodeCoords
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