pub enum DiscretionMoveType {
Floating,
Fixed,
}
Variants
Floating
Fixed
Implementations
Trait Implementations
sourceimpl Clone for DiscretionMoveType
impl Clone for DiscretionMoveType
sourcefn clone(&self) -> DiscretionMoveType
fn clone(&self) -> DiscretionMoveType
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 Debug for DiscretionMoveType
impl Debug for DiscretionMoveType
sourceimpl From<DiscretionMoveType> for &'static [u8]
impl From<DiscretionMoveType> for &'static [u8]
sourceimpl TryFrom<i64> for DiscretionMoveType
impl TryFrom<i64> for DiscretionMoveType
type Error = RejectReason
type Error = RejectReason
The type returned in the event of a conversion error.
sourcefn try_from(input: Int) -> Result<DiscretionMoveType, RejectReason>
fn try_from(input: Int) -> Result<DiscretionMoveType, RejectReason>
Performs the conversion.
impl Copy for DiscretionMoveType
impl Eq for DiscretionMoveType
impl StructuralEq for DiscretionMoveType
impl StructuralPartialEq for DiscretionMoveType
Auto Trait Implementations
impl RefUnwindSafe for DiscretionMoveType
impl Send for DiscretionMoveType
impl Sync for DiscretionMoveType
impl Unpin for DiscretionMoveType
impl UnwindSafe for DiscretionMoveType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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