[−][src]Struct mshio::mshfile::MshFile
A parsed MSH file containing mesh and header data
Models MSH files after revision 4.1 described at gmsh.info
Fields
header: MshHeader
Data extracted from the file format header
data: MshData<U, I, F>
Actual mesh data of the MSH file
Implementations
impl<U, I, F> MshFile<U, I, F> where
U: MshUsizeT,
I: MshIntT,
F: MshFloatT,
[src]
U: MshUsizeT,
I: MshIntT,
F: MshFloatT,
pub fn point_count(&self) -> usize
[src]
Returns the total number of point entities in the MSH file
pub fn curve_count(&self) -> usize
[src]
Returns the total number of curve entities in the MSH file
pub fn surface_count(&self) -> usize
[src]
Returns the total number of surface entities in the MSH file
pub fn volume_count(&self) -> usize
[src]
Returns the total number of volume entities in the MSH file
pub fn total_node_count(&self) -> usize
[src]
Returns the total number of nodes in the MSH file
pub fn total_element_count(&self) -> usize
[src]
Returns the total number of elements in the MSH file
pub fn count_element_types(&self) -> HashMap<ElementType, usize>
[src]
Trait Implementations
impl<U: Clone, I: Clone, F: Clone> Clone for MshFile<U, I, F> where
U: MshUsizeT,
I: MshIntT,
F: MshFloatT,
[src]
U: MshUsizeT,
I: MshIntT,
F: MshFloatT,
impl<U: Debug, I: Debug, F: Debug> Debug for MshFile<U, I, F> where
U: MshUsizeT,
I: MshIntT,
F: MshFloatT,
[src]
U: MshUsizeT,
I: MshIntT,
F: MshFloatT,
impl<U: PartialEq, I: PartialEq, F: PartialEq> PartialEq<MshFile<U, I, F>> for MshFile<U, I, F> where
U: MshUsizeT,
I: MshIntT,
F: MshFloatT,
[src]
U: MshUsizeT,
I: MshIntT,
F: MshFloatT,
fn eq(&self, other: &MshFile<U, I, F>) -> bool
[src]
fn ne(&self, other: &MshFile<U, I, F>) -> bool
[src]
impl<U, I, F> StructuralPartialEq for MshFile<U, I, F> where
U: MshUsizeT,
I: MshIntT,
F: MshFloatT,
[src]
U: MshUsizeT,
I: MshIntT,
F: MshFloatT,
impl<'a> TryFrom<&'a [u8]> for MshFile<u64, i32, f64>
[src]
Try to parse a MshFile from a slice of bytes
The input can be the content of an ASCII or binary encoded MSH file of file format version 4.1.
Auto Trait Implementations
impl<U, I, F> RefUnwindSafe for MshFile<U, I, F> where
F: RefUnwindSafe,
I: RefUnwindSafe,
U: RefUnwindSafe,
F: RefUnwindSafe,
I: RefUnwindSafe,
U: RefUnwindSafe,
impl<U, I, F> Send for MshFile<U, I, F> where
F: Send,
I: Send,
U: Send,
F: Send,
I: Send,
U: Send,
impl<U, I, F> Sync for MshFile<U, I, F> where
F: Sync,
I: Sync,
U: Sync,
F: Sync,
I: Sync,
U: Sync,
impl<U, I, F> Unpin for MshFile<U, I, F> where
F: Unpin,
I: Unpin,
U: Unpin,
F: Unpin,
I: Unpin,
U: Unpin,
impl<U, I, F> UnwindSafe for MshFile<U, I, F> where
F: UnwindSafe,
I: UnwindSafe,
U: UnwindSafe,
F: UnwindSafe,
I: UnwindSafe,
U: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,