pub struct FaceRecord {
pub block_index: usize,
pub imin: usize,
pub jmin: usize,
pub kmin: usize,
pub imax: usize,
pub jmax: usize,
pub kmax: usize,
pub id: Option<usize>,
}Expand description
Compact record describing a face on a particular block.
Fields§
§block_index: usize§imin: usize§jmin: usize§kmin: usize§imax: usize§jmax: usize§kmax: usize§id: Option<usize>Implementations§
Source§impl FaceRecord
impl FaceRecord
Sourcepub fn scale_indices(&mut self, factor: usize)
pub fn scale_indices(&mut self, factor: usize)
Scale the index ranges by factor.
Sourcepub fn divide_indices(&mut self, divisor: usize)
pub fn divide_indices(&mut self, divisor: usize)
Reduce the index ranges by divisor.
Trait Implementations§
Source§impl Clone for FaceRecord
impl Clone for FaceRecord
Source§fn clone(&self) -> FaceRecord
fn clone(&self) -> FaceRecord
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 FaceRecord
impl Debug for FaceRecord
Auto Trait Implementations§
impl Freeze for FaceRecord
impl RefUnwindSafe for FaceRecord
impl Send for FaceRecord
impl Sync for FaceRecord
impl Unpin for FaceRecord
impl UnwindSafe for FaceRecord
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