pub enum ConsensusVote {
Unanimous,
Aligned,
Conflict,
}Expand description
One vote from a tile during consensus
Variants§
Unanimous
Local gradient is zero — tile is at a constraint extremum
Aligned
Local gradient projects stably onto constraint surface
Conflict
Local gradient projection is unstable — geometric inconsistency
Trait Implementations§
Source§impl Clone for ConsensusVote
impl Clone for ConsensusVote
Source§fn clone(&self) -> ConsensusVote
fn clone(&self) -> ConsensusVote
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 ConsensusVote
impl Debug for ConsensusVote
Source§impl<'de> Deserialize<'de> for ConsensusVote
impl<'de> Deserialize<'de> for ConsensusVote
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
Source§impl PartialEq for ConsensusVote
impl PartialEq for ConsensusVote
Source§fn eq(&self, other: &ConsensusVote) -> bool
fn eq(&self, other: &ConsensusVote) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ConsensusVote
impl Serialize for ConsensusVote
impl StructuralPartialEq for ConsensusVote
Auto Trait Implementations§
impl Freeze for ConsensusVote
impl RefUnwindSafe for ConsensusVote
impl Send for ConsensusVote
impl Sync for ConsensusVote
impl Unpin for ConsensusVote
impl UnsafeUnpin for ConsensusVote
impl UnwindSafe for ConsensusVote
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