pub enum ShellOrigin {
Outer,
Center,
Corner,
}Expand description
Origin for shell stratification.
Variants§
Outer
Shells from the boundary inward. Shell 0 = boundary, shell N = deepest interior.
Center
Shells from the center outward. Shell 0 = center, shell N = boundary.
Corner
Shells from the (0, …, 0) corner outward.
Trait Implementations§
Source§impl Clone for ShellOrigin
impl Clone for ShellOrigin
Source§fn clone(&self) -> ShellOrigin
fn clone(&self) -> ShellOrigin
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 ShellOrigin
Source§impl Debug for ShellOrigin
impl Debug for ShellOrigin
Source§impl Default for ShellOrigin
impl Default for ShellOrigin
Source§fn default() -> ShellOrigin
fn default() -> ShellOrigin
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ShellOrigin
impl<'de> Deserialize<'de> for ShellOrigin
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
impl Eq for ShellOrigin
Source§impl PartialEq for ShellOrigin
impl PartialEq for ShellOrigin
Source§impl Serialize for ShellOrigin
impl Serialize for ShellOrigin
impl StructuralPartialEq for ShellOrigin
Auto Trait Implementations§
impl Freeze for ShellOrigin
impl RefUnwindSafe for ShellOrigin
impl Send for ShellOrigin
impl Sync for ShellOrigin
impl Unpin for ShellOrigin
impl UnsafeUnpin for ShellOrigin
impl UnwindSafe for ShellOrigin
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
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>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.