pub enum TapUntapCost {
Tap {},
Untap {},
}Variants§
Implementations§
Source§impl TapUntapCost
impl TapUntapCost
pub fn try_from_span(span: &Span<'_>) -> Option<Self>
Trait Implementations§
Source§impl Clone for TapUntapCost
impl Clone for TapUntapCost
Source§fn clone(&self) -> TapUntapCost
fn clone(&self) -> TapUntapCost
Returns a duplicate of the value. Read more
1.0.0 · 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 TapUntapCost
impl Debug for TapUntapCost
Source§impl<'de> Deserialize<'de> for TapUntapCost
impl<'de> Deserialize<'de> for TapUntapCost
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 Hash for TapUntapCost
impl Hash for TapUntapCost
Source§impl Idris for TapUntapCost
impl Idris for TapUntapCost
Source§impl Ord for TapUntapCost
impl Ord for TapUntapCost
Source§fn cmp(&self, other: &TapUntapCost) -> Ordering
fn cmp(&self, other: &TapUntapCost) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TapUntapCost
impl PartialEq for TapUntapCost
Source§impl PartialOrd for TapUntapCost
impl PartialOrd for TapUntapCost
Source§impl Serialize for TapUntapCost
impl Serialize for TapUntapCost
impl Copy for TapUntapCost
impl Eq for TapUntapCost
impl StructuralPartialEq for TapUntapCost
Auto Trait Implementations§
impl Freeze for TapUntapCost
impl RefUnwindSafe for TapUntapCost
impl Send for TapUntapCost
impl Sync for TapUntapCost
impl Unpin for TapUntapCost
impl UnwindSafe for TapUntapCost
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