pub struct CellsInput {
pub x: Option<[i64; 2]>,
pub y: Option<[i64; 2]>,
pub z: Option<[i64; 2]>,
}Expand description
Cells of a disorder term: [first, end) along each lattice direction, numbered from 0 (all the
cells of a direction without a range).
Fields§
§x: Option<[i64; 2]>Cells [first, end) along the first lattice direction (all by default).
y: Option<[i64; 2]>Cells [first, end) along the second lattice direction (all by default).
z: Option<[i64; 2]>Cells [first, end) along the third lattice direction (all by default).
Trait Implementations§
Source§impl Clone for CellsInput
impl Clone for CellsInput
Source§fn clone(&self) -> CellsInput
fn clone(&self) -> CellsInput
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 moreSource§impl Debug for CellsInput
impl Debug for CellsInput
Source§impl Default for CellsInput
impl Default for CellsInput
Source§fn default() -> CellsInput
fn default() -> CellsInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CellsInput
impl<'de> Deserialize<'de> for CellsInput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CellsInput
impl RefUnwindSafe for CellsInput
impl Send for CellsInput
impl Sync for CellsInput
impl Unpin for CellsInput
impl UnsafeUnpin for CellsInput
impl UnwindSafe for CellsInput
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T, U> Imply<T> for U
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more