pub enum ParticipantPosition {
First,
Second,
}Variants§
Implementations§
Source§impl ParticipantPosition
impl ParticipantPosition
pub fn other(self) -> ParticipantPosition
Trait Implementations§
Source§impl Clone for ParticipantPosition
impl Clone for ParticipantPosition
Source§fn clone(&self) -> ParticipantPosition
fn clone(&self) -> ParticipantPosition
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 ParticipantPosition
Source§impl Debug for ParticipantPosition
impl Debug for ParticipantPosition
impl Eq for ParticipantPosition
Source§impl PartialEq for ParticipantPosition
impl PartialEq for ParticipantPosition
Source§fn eq(&self, other: &ParticipantPosition) -> bool
fn eq(&self, other: &ParticipantPosition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ParticipantPosition
Auto Trait Implementations§
impl Freeze for ParticipantPosition
impl RefUnwindSafe for ParticipantPosition
impl Send for ParticipantPosition
impl Sync for ParticipantPosition
impl Unpin for ParticipantPosition
impl UnsafeUnpin for ParticipantPosition
impl UnwindSafe for ParticipantPosition
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