Struct Grid3dSpec
pub struct Grid3dSpec {
pub nx: usize,
pub ny: usize,
pub nz: usize,
pub dx: f64,
pub dy: f64,
pub dz: f64,
}Expand description
3D structured Cartesian grid geometry ([nx, ny, nz] cells with spacings [dx, dy, dz] in metres).
Fields§
§nx: usize§ny: usize§nz: usize§dx: f64§dy: f64§dz: f64Implementations§
Trait Implementations§
§impl Clone for Grid3dSpec
impl Clone for Grid3dSpec
§fn clone(&self) -> Grid3dSpec
fn clone(&self) -> Grid3dSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Grid3dSpec
§impl Debug for Grid3dSpec
impl Debug for Grid3dSpec
§impl PartialEq for Grid3dSpec
impl PartialEq for Grid3dSpec
impl StructuralPartialEq for Grid3dSpec
Auto Trait Implementations§
impl Freeze for Grid3dSpec
impl RefUnwindSafe for Grid3dSpec
impl Send for Grid3dSpec
impl Sync for Grid3dSpec
impl Unpin for Grid3dSpec
impl UnsafeUnpin for Grid3dSpec
impl UnwindSafe for Grid3dSpec
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