pub enum VmStackValueNum {
Double(PQLDouble),
Long(PQLLong),
CardCount(PQLCardCount),
}Variants§
Implementations§
Trait Implementations§
Source§impl Add for VmStackValueNum
impl Add for VmStackValueNum
Source§impl Clone for VmStackValueNum
impl Clone for VmStackValueNum
Source§fn clone(&self) -> VmStackValueNum
fn clone(&self) -> VmStackValueNum
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 VmStackValueNum
impl Debug for VmStackValueNum
Source§impl Div for VmStackValueNum
impl Div for VmStackValueNum
Source§impl From<VmStackValueNum> for VmStackValue
impl From<VmStackValueNum> for VmStackValue
Source§fn from(value: VmStackValueNum) -> Self
fn from(value: VmStackValueNum) -> Self
Converts to this type from the input type.
Source§impl From<f64> for VmStackValueNum
impl From<f64> for VmStackValueNum
Source§impl From<i64> for VmStackValueNum
impl From<i64> for VmStackValueNum
Source§impl From<u8> for VmStackValueNum
impl From<u8> for VmStackValueNum
Source§fn from(value: PQLCardCount) -> Self
fn from(value: PQLCardCount) -> Self
Converts to this type from the input type.
Source§impl Mul for VmStackValueNum
impl Mul for VmStackValueNum
Source§impl PartialEq for VmStackValueNum
impl PartialEq for VmStackValueNum
Source§impl PartialOrd for VmStackValueNum
impl PartialOrd for VmStackValueNum
Source§impl Sub for VmStackValueNum
impl Sub for VmStackValueNum
Source§impl<'a> TryFrom<&'a VmValue> for &'a VmStackValueNum
impl<'a> TryFrom<&'a VmValue> for &'a VmStackValueNum
Source§impl<'a> TryFrom<&'a mut VmValue> for &'a mut VmStackValueNum
impl<'a> TryFrom<&'a mut VmValue> for &'a mut VmStackValueNum
Source§impl TryFrom<VmStackValue> for VmStackValueNum
impl TryFrom<VmStackValue> for VmStackValueNum
Source§type Error = TryIntoError<VmStackValue>
type Error = TryIntoError<VmStackValue>
The type returned in the event of a conversion error.
Source§fn try_from(value: VmStackValue) -> Result<Self, TryIntoError<VmStackValue>>
fn try_from(value: VmStackValue) -> Result<Self, TryIntoError<VmStackValue>>
Performs the conversion.
Source§impl TryFrom<VmStackValueNum> for PQLDouble
impl TryFrom<VmStackValueNum> for PQLDouble
Source§type Error = TryIntoError<VmStackValueNum>
type Error = TryIntoError<VmStackValueNum>
The type returned in the event of a conversion error.
Source§fn try_from(
value: VmStackValueNum,
) -> Result<Self, TryIntoError<VmStackValueNum>>
fn try_from( value: VmStackValueNum, ) -> Result<Self, TryIntoError<VmStackValueNum>>
Performs the conversion.
Source§impl TryFrom<VmStackValueNum> for PQLLong
impl TryFrom<VmStackValueNum> for PQLLong
Source§type Error = TryIntoError<VmStackValueNum>
type Error = TryIntoError<VmStackValueNum>
The type returned in the event of a conversion error.
Source§fn try_from(
value: VmStackValueNum,
) -> Result<Self, TryIntoError<VmStackValueNum>>
fn try_from( value: VmStackValueNum, ) -> Result<Self, TryIntoError<VmStackValueNum>>
Performs the conversion.
Source§impl TryFrom<VmStackValueNum> for PQLCardCount
impl TryFrom<VmStackValueNum> for PQLCardCount
Source§type Error = TryIntoError<VmStackValueNum>
type Error = TryIntoError<VmStackValueNum>
The type returned in the event of a conversion error.
Source§fn try_from(
value: VmStackValueNum,
) -> Result<Self, TryIntoError<VmStackValueNum>>
fn try_from( value: VmStackValueNum, ) -> Result<Self, TryIntoError<VmStackValueNum>>
Performs the conversion.
impl Copy for VmStackValueNum
Auto Trait Implementations§
impl Freeze for VmStackValueNum
impl RefUnwindSafe for VmStackValueNum
impl Send for VmStackValueNum
impl Sync for VmStackValueNum
impl Unpin for VmStackValueNum
impl UnwindSafe for VmStackValueNum
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more