Struct dengine::Rnd2 [−][src]
pub struct Rnd2(_);
Methods
impl Rnd2
[src]
impl Rnd2
Trait Implementations
impl ConvIr<Rnd2> for Rnd2Ir
[src]
impl ConvIr<Rnd2> for Rnd2Ir
fn new(v: Value) -> Result<Self, FromValueError>
[src]
fn new(v: Value) -> Result<Self, FromValueError>
fn commit(self) -> Rnd2
[src]
fn commit(self) -> Rnd2
fn rollback(self) -> Value
[src]
fn rollback(self) -> Value
impl FromValue for Rnd2
[src]
impl FromValue for Rnd2
type Intermediate = Rnd2Ir
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 Rnd2
[src]
impl From<Value> for Rnd2
impl Debug for Rnd2
[src]
impl Debug for Rnd2
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 Serialize for Rnd2
[src]
impl Serialize for Rnd2