Enum fdg_sim::Dimensions
source · [−]pub enum Dimensions {
Two,
Three,
}
Expand description
Number of dimensions to run the simulation in.
Variants
Two
Three
Trait Implementations
sourceimpl Clone for Dimensions
impl Clone for Dimensions
sourcefn clone(&self) -> Dimensions
fn clone(&self) -> Dimensions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl PartialEq<Dimensions> for Dimensions
impl PartialEq<Dimensions> for Dimensions
sourcefn eq(&self, other: &Dimensions) -> bool
fn eq(&self, other: &Dimensions) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Copy for Dimensions
impl Eq for Dimensions
impl StructuralEq for Dimensions
impl StructuralPartialEq for Dimensions
Auto Trait Implementations
impl RefUnwindSafe for Dimensions
impl Send for Dimensions
impl Sync for Dimensions
impl Unpin for Dimensions
impl UnwindSafe for Dimensions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.