pub struct LatticeCoordinate {
pub i: usize,
pub j: usize,
pub k: usize,
}Expand description
Integer ternary lattice coordinate satisfying i+j+k=n.
Fields§
§i: usize§j: usize§k: usizeTrait Implementations§
Source§impl Clone for LatticeCoordinate
impl Clone for LatticeCoordinate
Source§fn clone(&self) -> LatticeCoordinate
fn clone(&self) -> LatticeCoordinate
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 LatticeCoordinate
Source§impl Debug for LatticeCoordinate
impl Debug for LatticeCoordinate
impl Eq for LatticeCoordinate
Source§impl Hash for LatticeCoordinate
impl Hash for LatticeCoordinate
Source§impl Ord for LatticeCoordinate
impl Ord for LatticeCoordinate
Source§fn cmp(&self, other: &LatticeCoordinate) -> Ordering
fn cmp(&self, other: &LatticeCoordinate) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for LatticeCoordinate
impl PartialEq for LatticeCoordinate
Source§impl PartialOrd for LatticeCoordinate
impl PartialOrd for LatticeCoordinate
impl StructuralPartialEq for LatticeCoordinate
Auto Trait Implementations§
impl Freeze for LatticeCoordinate
impl RefUnwindSafe for LatticeCoordinate
impl Send for LatticeCoordinate
impl Sync for LatticeCoordinate
impl Unpin for LatticeCoordinate
impl UnsafeUnpin for LatticeCoordinate
impl UnwindSafe for LatticeCoordinate
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