pub struct EnsightGeometry {
pub description1: String,
pub description2: String,
pub node_id_mode: NodeIdMode,
pub element_id_mode: NodeIdMode,
pub x: Vec<f32>,
pub y: Vec<f32>,
pub z: Vec<f32>,
pub parts: Vec<EnsightPart>,
}Expand description
EnSight Gold geometry: node coordinates + one or more parts.
Fields§
§description1: StringDescription line 1 (appears in .geo header).
description2: StringDescription line 2 (appears in .geo header).
node_id_mode: NodeIdModeNode ID mode.
element_id_mode: NodeIdModeElement ID mode ("off" | "given" | "assign").
x: Vec<f32>X coordinates of all nodes (0-based).
y: Vec<f32>Y coordinates of all nodes (0-based).
z: Vec<f32>Z coordinates of all nodes (0-based).
parts: Vec<EnsightPart>Parts in this geometry.
Implementations§
Trait Implementations§
Source§impl Clone for EnsightGeometry
impl Clone for EnsightGeometry
Source§fn clone(&self) -> EnsightGeometry
fn clone(&self) -> EnsightGeometry
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 moreSource§impl Debug for EnsightGeometry
impl Debug for EnsightGeometry
Auto Trait Implementations§
impl Freeze for EnsightGeometry
impl RefUnwindSafe for EnsightGeometry
impl Send for EnsightGeometry
impl Sync for EnsightGeometry
impl Unpin for EnsightGeometry
impl UnsafeUnpin for EnsightGeometry
impl UnwindSafe for EnsightGeometry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.