pub enum VmValue {
Thin(VmStackValue),
Range(PQLRange),
BoardRange(PQLBoardRange),
Str(PQLString),
}Variants§
Trait Implementations§
Source§impl From<VmStackValue> for VmValue
impl From<VmStackValue> for VmValue
Source§fn from(value: VmStackValue) -> Self
fn from(value: VmStackValue) -> Self
Converts to this type from the input type.
Source§impl<'a> TryFrom<&'a VmValue> for &'a PQLBoardRange
impl<'a> TryFrom<&'a VmValue> for &'a PQLBoardRange
Source§impl<'a> TryFrom<&'a VmValue> for &'a PQLFlopHandCategory
impl<'a> TryFrom<&'a VmValue> for &'a PQLFlopHandCategory
Source§impl<'a> TryFrom<&'a VmValue> for &'a PQLHandType
impl<'a> TryFrom<&'a VmValue> for &'a PQLHandType
Source§impl<'a> TryFrom<&'a VmValue> for &'a PQLHiRating
impl<'a> TryFrom<&'a VmValue> for &'a PQLHiRating
Source§impl<'a> TryFrom<&'a VmValue> for &'a VmStackValue
impl<'a> TryFrom<&'a VmValue> for &'a VmStackValue
Source§impl<'a> TryFrom<&'a VmValue> for &'a VmStackValueNum
impl<'a> TryFrom<&'a VmValue> for &'a VmStackValueNum
Source§impl<'a> TryFrom<&'a VmValue> for &'a PQLCardCount
impl<'a> TryFrom<&'a VmValue> for &'a PQLCardCount
Source§impl<'a> TryFrom<&'a mut VmValue> for &'a mut PQLBoardRange
impl<'a> TryFrom<&'a mut VmValue> for &'a mut PQLBoardRange
Source§impl<'a> TryFrom<&'a mut VmValue> for &'a mut PQLFlopHandCategory
impl<'a> TryFrom<&'a mut VmValue> for &'a mut PQLFlopHandCategory
Source§impl<'a> TryFrom<&'a mut VmValue> for &'a mut PQLHandType
impl<'a> TryFrom<&'a mut VmValue> for &'a mut PQLHandType
Source§impl<'a> TryFrom<&'a mut VmValue> for &'a mut PQLHiRating
impl<'a> TryFrom<&'a mut VmValue> for &'a mut PQLHiRating
Source§impl<'a> TryFrom<&'a mut VmValue> for &'a mut VmStackValue
impl<'a> TryFrom<&'a mut VmValue> for &'a mut VmStackValue
Source§impl<'a> TryFrom<&'a mut VmValue> for &'a mut VmStackValueNum
impl<'a> TryFrom<&'a mut VmValue> for &'a mut VmStackValueNum
Source§impl<'a> TryFrom<&'a mut VmValue> for &'a mut PQLCardCount
impl<'a> TryFrom<&'a mut VmValue> for &'a mut PQLCardCount
Source§impl TryFrom<VmValue> for PQLBoardRange
impl TryFrom<VmValue> for PQLBoardRange
Auto Trait Implementations§
impl Freeze for VmValue
impl RefUnwindSafe for VmValue
impl Send for VmValue
impl Sync for VmValue
impl Unpin for VmValue
impl UnwindSafe for VmValue
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