Enum dengine::Dypes [−][src]
Variants
Uint(u64)
Int(i64)
Float(f64)
String(String)
Bytes(Vec<u8>)
Null
Trait Implementations
impl From<Dypes> for Value
[src]
impl From<Dypes> for Value
impl ConvIr<Dypes> for DypesIr
[src]
impl ConvIr<Dypes> for DypesIr
fn new(v: Value) -> Result<DypesIr, FromValueError>
[src]
fn new(v: Value) -> Result<DypesIr, FromValueError>
fn commit(self) -> Dypes
[src]
fn commit(self) -> Dypes
fn rollback(self) -> Value
[src]
fn rollback(self) -> Value
impl FromValue for Dypes
[src]
impl FromValue for Dypes
type Intermediate = DypesIr
fn from_value(v: Value) -> Self
fn from_value(v: Value) -> Self
Will panic if could not convert v
to Self
.
fn from_value_opt(v: Value) -> Result<Self, FromValueError>
fn from_value_opt(v: Value) -> Result<Self, FromValueError>
Will return Err(Error::FromValueError(v))
if could not convert v
to Self
.
fn get_intermediate(v: Value) -> Result<Self::Intermediate, FromValueError>
fn get_intermediate(v: Value) -> Result<Self::Intermediate, FromValueError>
Will return Err(Error::FromValueError(v))
if v
is not convertible to Self
.
impl From<Value> for Dypes
[src]
impl From<Value> for Dypes
impl From<Dypes> for Value
[src]
impl From<Dypes> for Value
impl From<Value> for Dypes
[src]
impl From<Value> for Dypes
impl Clone for Dypes
[src]
impl Clone for Dypes
fn clone(&self) -> Dypes
[src]
fn clone(&self) -> Dypes
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Dypes
[src]
impl Debug for Dypes
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<String> for Dypes
[src]
impl From<String> for Dypes
impl<'a> From<&'a str> for Dypes
[src]
impl<'a> From<&'a str> for Dypes
impl From<bool> for Dypes
[src]
impl From<bool> for Dypes
impl From<Dypes> for Option<String>
[src]
impl From<Dypes> for Option<String>
impl From<Dypes> for Option<bool>
[src]
impl From<Dypes> for Option<bool>
impl From<u64> for Dypes
[src]
impl From<u64> for Dypes
impl From<u32> for Dypes
[src]
impl From<u32> for Dypes
impl From<i64> for Dypes
[src]
impl From<i64> for Dypes
impl From<i32> for Dypes
[src]
impl From<i32> for Dypes
impl From<f64> for Dypes
[src]
impl From<f64> for Dypes
impl From<f32> for Dypes
[src]
impl From<f32> for Dypes
impl From<Dypes> for Option<u64>
[src]
impl From<Dypes> for Option<u64>
impl From<Dypes> for Option<i64>
[src]
impl From<Dypes> for Option<i64>
impl From<Dypes> for Option<u32>
[src]
impl From<Dypes> for Option<u32>
impl From<Dypes> for Option<i32>
[src]
impl From<Dypes> for Option<i32>
impl From<Dypes> for Option<f64>
[src]
impl From<Dypes> for Option<f64>
impl From<Dypes> for Option<f32>
[src]
impl From<Dypes> for Option<f32>
impl From<Dypes> for Option<Rnd2>
[src]
impl From<Dypes> for Option<Rnd2>