pub enum OpVal {
String(OpValString),
Int64(OpValInt64),
Int32(OpValInt32),
Float64(OpValFloat64),
Bool(OpValBool),
Value(OpValValue),
}Variants§
String(OpValString)
Int64(OpValInt64)
Int32(OpValInt32)
Float64(OpValFloat64)
Bool(OpValBool)
Value(OpValValue)
Trait Implementations§
source§impl From<OpValFloat64> for OpVal
impl From<OpValFloat64> for OpVal
source§fn from(val: OpValFloat64) -> Self
fn from(val: OpValFloat64) -> Self
Converts to this type from the input type.
source§impl From<OpValInt32> for OpVal
impl From<OpValInt32> for OpVal
source§fn from(val: OpValInt32) -> Self
fn from(val: OpValInt32) -> Self
Converts to this type from the input type.
source§impl From<OpValInt64> for OpVal
impl From<OpValInt64> for OpVal
source§fn from(val: OpValInt64) -> Self
fn from(val: OpValInt64) -> Self
Converts to this type from the input type.
source§impl From<OpValString> for OpVal
impl From<OpValString> for OpVal
source§fn from(val: OpValString) -> Self
fn from(val: OpValString) -> Self
Converts to this type from the input type.
source§impl From<OpValValue> for OpVal
impl From<OpValValue> for OpVal
source§fn from(val: OpValValue) -> Self
fn from(val: OpValValue) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for OpVal
impl Send for OpVal
impl Sync for OpVal
impl Unpin for OpVal
impl UnwindSafe for OpVal
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