Struct ayaka_bindings_types::RawContext
source · pub struct RawContext {
pub cur_base_para: String,
pub cur_para: String,
pub cur_act: usize,
pub locals: VarMap,
}Expand description
The serializable context.
Fields§
§cur_base_para: StringCurrent base paragraph tag.
cur_para: StringCurrent paragraph tag.
cur_act: usizeCurrent text index.
locals: VarMapCurrent local variables.
Trait Implementations§
source§impl Clone for RawContext
impl Clone for RawContext
source§fn clone(&self) -> RawContext
fn clone(&self) -> RawContext
Returns a copy 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 RawContext
impl Debug for RawContext
source§impl Default for RawContext
impl Default for RawContext
source§fn default() -> RawContext
fn default() -> RawContext
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RawContext
impl<'de> Deserialize<'de> for RawContext
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more