diff --git a/doc/ayaka_bindings/all.html b/doc/ayaka_bindings/all.html index 2578e3b4..bda857a8 100644 --- a/doc/ayaka_bindings/all.html +++ b/doc/ayaka_bindings/all.html @@ -1,2 +1 @@ -
#[export]
#[export]
#[import]
#[import]
pub struct HostFS;
#[export]
#[export]
#[import]
#[import]
pub enum Action {
+Action in ayaka_bindings_types - Rust Enum ayaka_bindings_types::Action
source · pub enum Action {
Empty,
Text(ActionText),
Switches(Vec<Switch>),
@@ -10,11 +9,11 @@
§Text(ActionText)
A text action, display some texts.
§Switches(Vec<Switch>)
A switch action, display switches and let player to choose.
§Custom(VarMap)
A custom action.
-
pub enum ActionSubText {
+ActionSubText in ayaka_bindings_types - Rust
source
. Read moreself
and other
values to be equal, and is used
+source
. Read moreself
and other
values to be equal, and is used
by ==
.pub enum FileSeekFrom {
+FileSeekFrom in ayaka_bindings_types - Rust Variants§
Trait Implementations§
source§impl Clone for FileSeekFrom
source§fn clone(&self) -> FileSeekFrom
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for FileSeekFrom
source§impl<'de> Deserialize<'de> for FileSeekFrom
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl From<FileSeekFrom> for SeekFrom
source§fn from(value: FileSeekFrom) -> Self
Converts to this type from the input type.source§impl From<SeekFrom> for FileSeekFrom
source§impl PartialEq for FileSeekFrom
source§fn eq(&self, other: &FileSeekFrom) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for FileSeekFrom
source§fn clone(&self) -> FileSeekFrom
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for FileSeekFrom
source§impl<'de> Deserialize<'de> for FileSeekFrom
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl From<FileSeekFrom> for SeekFrom
source§fn from(value: FileSeekFrom) -> Self
Converts to this type from the input type.source§impl From<SeekFrom> for FileSeekFrom
source§impl PartialEq for FileSeekFrom
source§fn eq(&self, other: &FileSeekFrom) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for FileSeekFrom
source§impl Copy for FileSeekFrom
source§impl Eq for FileSeekFrom
source§impl StructuralPartialEq for FileSeekFrom
Auto Trait Implementations§
§impl Freeze for FileSeekFrom
§impl RefUnwindSafe for FileSeekFrom
§impl Send for FileSeekFrom
§impl Sync for FileSeekFrom
§impl Unpin for FileSeekFrom
§impl UnwindSafe for FileSeekFrom
Blanket Implementations§
source§impl Serialize for FileSeekFrom
source§impl Copy for FileSeekFrom
source§impl Eq for FileSeekFrom
source§impl StructuralPartialEq for FileSeekFrom
Auto Trait Implementations§
§impl Freeze for FileSeekFrom
§impl RefUnwindSafe for FileSeekFrom
§impl Send for FileSeekFrom
§impl Sync for FileSeekFrom
§impl Unpin for FileSeekFrom
§impl UnwindSafe for FileSeekFrom
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
pub enum FileType {
+FileType in ayaka_bindings_types - Rust Enum ayaka_bindings_types::FileType
source · pub enum FileType {
File,
Dir,
}
Expand description
Type of a file.
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for FileType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for FileType
Trait Implementations§
source§impl<'de> Deserialize<'de> for FileType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for FileType
source§impl Copy for FileType
source§impl Eq for FileType
source§impl StructuralPartialEq for FileType
Auto Trait Implementations§
§impl Freeze for FileType
§impl RefUnwindSafe for FileType
§impl Send for FileType
§impl Sync for FileType
§impl Unpin for FileType
§impl UnwindSafe for FileType
Blanket Implementations§
source§impl Copy for FileType
source§impl Eq for FileType
source§impl StructuralPartialEq for FileType
Auto Trait Implementations§
§impl Freeze for FileType
§impl RefUnwindSafe for FileType
§impl Send for FileType
§impl Sync for FileType
§impl Unpin for FileType
§impl UnwindSafe for FileType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
\ No newline at end of file
+ U: Into<T>,
pub enum FrontendType {
+FrontendType in ayaka_bindings_types - Rust pub enum FrontendType {
Text,
Html,
Latex,
@@ -7,9 +6,9 @@
Variants§
§Text
The frontend only accepts raw texts.
§Html
The frontend renders HTML.
§Latex
The frontend renders LaTeX.
-Trait Implementations§
source§impl Clone for FrontendType
source§fn clone(&self) -> FrontendType
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for FrontendType
source§impl<'de> Deserialize<'de> for FrontendType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Serialize for FrontendType
source§impl Copy for FrontendType
Auto Trait Implementations§
§impl Freeze for FrontendType
§impl RefUnwindSafe for FrontendType
§impl Send for FrontendType
§impl Sync for FrontendType
§impl Unpin for FrontendType
§impl UnwindSafe for FrontendType
Blanket Implementations§
Trait Implementations§
source§impl Clone for FrontendType
source§fn clone(&self) -> FrontendType
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for FrontendType
source§impl<'de> Deserialize<'de> for FrontendType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Serialize for FrontendType
source§impl Copy for FrontendType
Auto Trait Implementations§
§impl Freeze for FrontendType
§impl RefUnwindSafe for FrontendType
§impl Send for FrontendType
§impl Sync for FrontendType
§impl Unpin for FrontendType
§impl UnwindSafe for FrontendType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
The types used in both runtime and plugins.
+The types used in both runtime and plugins.
ActionProcessContext
.text
is a VecDeque<ActionSubText>
.
The ActionSubText
could be pushed and poped at front or back.pub struct ActionProcessContext {
+ActionProcessContext in ayaka_bindings_types - Rust pub struct ActionProcessContext {
pub game_props: HashMap<String, String>,
pub frontend: FrontendType,
pub ctx: RawContext,
@@ -18,9 +17,9 @@
§frontend: FrontendType
The frontend type.
§ctx: RawContext
The current context.
§action: ActionText
The current action.
-Trait Implementations§
source§impl Debug for ActionProcessContext
source§impl<'de> Deserialize<'de> for ActionProcessContext
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl Freeze for ActionProcessContext
§impl RefUnwindSafe for ActionProcessContext
§impl Send for ActionProcessContext
§impl Sync for ActionProcessContext
§impl Unpin for ActionProcessContext
§impl UnwindSafe for ActionProcessContext
Blanket Implementations§
source§impl<T> Any for Twhere
+Trait Implementations§
source§impl Debug for ActionProcessContext
source§impl<'de> Deserialize<'de> for ActionProcessContext
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl Freeze for ActionProcessContext
§impl RefUnwindSafe for ActionProcessContext
§impl Send for ActionProcessContext
§impl Sync for ActionProcessContext
§impl Unpin for ActionProcessContext
§impl UnwindSafe for ActionProcessContext
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
\ No newline at end of file
+ U: Into<T>,
pub struct ActionProcessResult {
+ActionProcessResult in ayaka_bindings_types - Rust pub struct ActionProcessResult {
pub action: ActionText,
}
Expand description
The result of action plugins.
See examples at ActionProcessContext
.
Fields§
§action: ActionText
The processed action text.
-Trait Implementations§
source§impl Debug for ActionProcessResult
source§impl Default for ActionProcessResult
source§fn default() -> ActionProcessResult
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for ActionProcessResult
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl Freeze for ActionProcessResult
§impl RefUnwindSafe for ActionProcessResult
§impl Send for ActionProcessResult
§impl Sync for ActionProcessResult
§impl Unpin for ActionProcessResult
§impl UnwindSafe for ActionProcessResult
Blanket Implementations§
source§impl<T> Any for Twhere
+Trait Implementations§
source§impl Debug for ActionProcessResult
source§impl Default for ActionProcessResult
source§fn default() -> ActionProcessResult
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for ActionProcessResult
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl Freeze for ActionProcessResult
§impl RefUnwindSafe for ActionProcessResult
§impl Send for ActionProcessResult
§impl Sync for ActionProcessResult
§impl Unpin for ActionProcessResult
§impl UnwindSafe for ActionProcessResult
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
\ No newline at end of file
+ U: Into<T>,
pub struct ActionText {
+ActionText in ayaka_bindings_types - Rust Struct ayaka_bindings_types::ActionText
source · pub struct ActionText {
pub text: VecDeque<ActionSubText>,
pub ch_key: Option<String>,
pub character: Option<String>,
@@ -23,11 +22,11 @@
If the back element is also ActionSubText::Chars
, the string is appended.
sourcepub fn push_back_block<'a>(&mut self, s: impl Into<Cow<'a, str>>)
Push the string as ActionSubText::Block
to the back.
If the back element is also ActionSubText::Block
, the string is appended.
-
source
. Read moresource
. Read morepub struct FileMetadata {
+FileMetadata in ayaka_bindings_types - Rust Struct ayaka_bindings_types::FileMetadata
source · pub struct FileMetadata {
pub file_type: FileType,
pub len: u64,
}
Expand description
File metadata.
Fields§
§file_type: FileType
Type of file.
§len: u64
Length of the file.
-Trait Implementations§
source§impl Debug for FileMetadata
source§impl<'de> Deserialize<'de> for FileMetadata
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl From<FileMetadata> for VfsMetadata
source§fn from(value: FileMetadata) -> Self
Converts to this type from the input type.source§impl From<VfsMetadata> for FileMetadata
Auto Trait Implementations§
§impl Freeze for FileMetadata
§impl RefUnwindSafe for FileMetadata
§impl Send for FileMetadata
§impl Sync for FileMetadata
§impl Unpin for FileMetadata
§impl UnwindSafe for FileMetadata
Blanket Implementations§
source§impl<T> Any for Twhere
+Trait Implementations§
source§impl Debug for FileMetadata
source§impl<'de> Deserialize<'de> for FileMetadata
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl From<FileMetadata> for VfsMetadata
source§fn from(value: FileMetadata) -> Self
Converts to this type from the input type.source§impl From<VfsMetadata> for FileMetadata
Auto Trait Implementations§
§impl Freeze for FileMetadata
§impl RefUnwindSafe for FileMetadata
§impl Send for FileMetadata
§impl Sync for FileMetadata
§impl Unpin for FileMetadata
§impl UnwindSafe for FileMetadata
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
\ No newline at end of file
+ U: Into<T>,
pub struct GameProcessContext {
+GameProcessContext in ayaka_bindings_types - Rust Struct ayaka_bindings_types::GameProcessContext
source · pub struct GameProcessContext {
pub title: String,
pub author: String,
pub props: HashMap<String, String>,
@@ -16,9 +15,9 @@
Fields§
§title: String
The title of the game.
The author of the game.
§props: HashMap<String, String>
The global properties of the game.
-Trait Implementations§
source§impl Debug for GameProcessContext
source§impl<'de> Deserialize<'de> for GameProcessContext
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl Freeze for GameProcessContext
§impl RefUnwindSafe for GameProcessContext
§impl Send for GameProcessContext
§impl Sync for GameProcessContext
§impl Unpin for GameProcessContext
§impl UnwindSafe for GameProcessContext
Blanket Implementations§
source§impl<T> Any for Twhere
+Trait Implementations§
source§impl Debug for GameProcessContext
source§impl<'de> Deserialize<'de> for GameProcessContext
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl Freeze for GameProcessContext
§impl RefUnwindSafe for GameProcessContext
§impl Send for GameProcessContext
§impl Sync for GameProcessContext
§impl Unpin for GameProcessContext
§impl UnwindSafe for GameProcessContext
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
\ No newline at end of file
+ U: Into<T>,
pub struct GameProcessResult {
+GameProcessResult in ayaka_bindings_types - Rust Struct ayaka_bindings_types::GameProcessResult
source · pub struct GameProcessResult {
pub props: HashMap<String, String>,
}
Expand description
The result of game plugins.
See examples at GameProcessContext
.
Fields§
§props: HashMap<String, String>
The updated properties.
-Trait Implementations§
source§impl Debug for GameProcessResult
source§impl<'de> Deserialize<'de> for GameProcessResult
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl Freeze for GameProcessResult
§impl RefUnwindSafe for GameProcessResult
§impl Send for GameProcessResult
§impl Sync for GameProcessResult
§impl Unpin for GameProcessResult
§impl UnwindSafe for GameProcessResult
Blanket Implementations§
source§impl<T> Any for Twhere
+Trait Implementations§
source§impl Debug for GameProcessResult
source§impl<'de> Deserialize<'de> for GameProcessResult
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl Freeze for GameProcessResult
§impl RefUnwindSafe for GameProcessResult
§impl Send for GameProcessResult
§impl Sync for GameProcessResult
§impl Unpin for GameProcessResult
§impl UnwindSafe for GameProcessResult
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
\ No newline at end of file
+ U: Into<T>,
pub struct LineProcessContext {
+LineProcessContext in ayaka_bindings_types - Rust Struct ayaka_bindings_types::LineProcessContext
source · pub struct LineProcessContext {
pub game_props: HashMap<String, String>,
pub frontend: FrontendType,
pub ctx: RawContext,
@@ -23,9 +22,9 @@
§frontend: FrontendType
The frontend type.
§ctx: RawContext
The current context.
§props: VarMap
The full properties of the custom command.
-Trait Implementations§
source§impl Debug for LineProcessContext
source§impl<'de> Deserialize<'de> for LineProcessContext
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl Freeze for LineProcessContext
§impl RefUnwindSafe for LineProcessContext
§impl Send for LineProcessContext
§impl Sync for LineProcessContext
§impl Unpin for LineProcessContext
§impl UnwindSafe for LineProcessContext
Blanket Implementations§
source§impl<T> Any for Twhere
+Trait Implementations§
source§impl Debug for LineProcessContext
source§impl<'de> Deserialize<'de> for LineProcessContext
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl Freeze for LineProcessContext
§impl RefUnwindSafe for LineProcessContext
§impl Send for LineProcessContext
§impl Sync for LineProcessContext
§impl Unpin for LineProcessContext
§impl UnwindSafe for LineProcessContext
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
\ No newline at end of file
+ U: Into<T>,
pub struct LineProcessResult {
+LineProcessResult in ayaka_bindings_types - Rust Struct ayaka_bindings_types::LineProcessResult
source · pub struct LineProcessResult {
pub locals: VarMap,
pub vars: VarMap,
}
Expand description
The result of commands in line plugins.
See examples at LineProcessContext
.
Fields§
§locals: VarMap
The updated variables.
§vars: VarMap
The temp variables.
-Trait Implementations§
source§impl Debug for LineProcessResult
source§impl Default for LineProcessResult
source§fn default() -> LineProcessResult
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for LineProcessResult
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl Freeze for LineProcessResult
§impl RefUnwindSafe for LineProcessResult
§impl Send for LineProcessResult
§impl Sync for LineProcessResult
§impl Unpin for LineProcessResult
§impl UnwindSafe for LineProcessResult
Blanket Implementations§
source§impl<T> Any for Twhere
+Trait Implementations§
source§impl Debug for LineProcessResult
source§impl Default for LineProcessResult
source§fn default() -> LineProcessResult
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for LineProcessResult
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl Freeze for LineProcessResult
§impl RefUnwindSafe for LineProcessResult
§impl Send for LineProcessResult
§impl Sync for LineProcessResult
§impl Unpin for LineProcessResult
§impl UnwindSafe for LineProcessResult
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
\ No newline at end of file
+ U: Into<T>,
pub struct PluginType {
+PluginType in ayaka_bindings_types - Rust Struct ayaka_bindings_types::PluginType
source · pub struct PluginType {
pub action: bool,
pub text: Vec<String>,
pub line: Vec<String>,
@@ -23,9 +22,9 @@
§game: bool
The game plugin.
This plugin processes the game properties after it is loaded.
Implementations§
source§impl PluginType
sourcepub fn builder() -> PluginTypeBuilder
Creates a PluginTypeBuilder
instance to build a PluginType
.
-Trait Implementations§
source§impl Clone for PluginType
source§fn clone(&self) -> PluginType
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PluginType
source§impl Default for PluginType
source§fn default() -> PluginType
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for PluginType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl Freeze for PluginType
§impl RefUnwindSafe for PluginType
§impl Send for PluginType
§impl Sync for PluginType
§impl Unpin for PluginType
§impl UnwindSafe for PluginType
Blanket Implementations§
source
. Read morepub struct PluginTypeBuilder { /* private fields */ }
The builder of PluginType
.
pub struct PluginTypeBuilder { /* private fields */ }
The builder of PluginType
.
pub struct RawContext {
+RawContext in ayaka_bindings_types - Rust Struct ayaka_bindings_types::RawContext
source · pub struct RawContext {
pub cur_base_para: String,
pub cur_para: String,
pub cur_act: usize,
@@ -9,9 +8,9 @@
§cur_para: String
Current paragraph tag.
§cur_act: usize
Current text index.
§locals: VarMap
Current local variables.
-Trait Implementations§
source§impl Clone for RawContext
source§fn clone(&self) -> RawContext
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for RawContext
source§impl Default for RawContext
source§fn default() -> RawContext
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for RawContext
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl Freeze for RawContext
§impl RefUnwindSafe for RawContext
§impl Send for RawContext
§impl Sync for RawContext
§impl Unpin for RawContext
§impl UnwindSafe for RawContext
Blanket Implementations§
source§impl<T> Any for Twhere
+Trait Implementations§
source§impl Clone for RawContext
source§fn clone(&self) -> RawContext
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for RawContext
source§impl Default for RawContext
source§fn default() -> RawContext
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for RawContext
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl Freeze for RawContext
§impl RefUnwindSafe for RawContext
§impl Send for RawContext
§impl Sync for RawContext
§impl Unpin for RawContext
§impl UnwindSafe for RawContext
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
\ No newline at end of file
+ U: Into<T>,
pub struct Switch {
+Switch in ayaka_bindings_types - Rust Struct ayaka_bindings_types::Switch
source · pub struct Switch {
pub text: String,
pub enabled: bool,
}
Expand description
One switch in the switches of an Action
.
Fields§
§text: String
The switch text.
§enabled: bool
Whether the switch is enabled.
-Trait Implementations§
source§impl<'de> Deserialize<'de> for Switch
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for Switch
source§fn eq(&self, other: &Switch) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Switch
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for Switch
source§impl Eq for Switch
source§impl StructuralPartialEq for Switch
Auto Trait Implementations§
§impl Freeze for Switch
§impl RefUnwindSafe for Switch
§impl Send for Switch
§impl Sync for Switch
§impl Unpin for Switch
§impl UnwindSafe for Switch
Blanket Implementations§
source§impl Eq for Switch
source§impl StructuralPartialEq for Switch
Auto Trait Implementations§
§impl Freeze for Switch
§impl RefUnwindSafe for Switch
§impl Send for Switch
§impl Sync for Switch
§impl Unpin for Switch
§impl UnwindSafe for Switch
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
\ No newline at end of file
+ U: Into<T>,
pub struct TextProcessContext {
+TextProcessContext in ayaka_bindings_types - Rust Struct ayaka_bindings_types::TextProcessContext
source · pub struct TextProcessContext {
pub game_props: HashMap<String, String>,
pub frontend: FrontendType,
}
Expand description
The argument to text plugin.
@@ -19,9 +18,9 @@
}
Fields§
§game_props: HashMap<String, String>
The global properties of the game profile.
§frontend: FrontendType
The frontend type.
-Trait Implementations§
source§impl Debug for TextProcessContext
source§impl<'de> Deserialize<'de> for TextProcessContext
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl Freeze for TextProcessContext
§impl RefUnwindSafe for TextProcessContext
§impl Send for TextProcessContext
§impl Sync for TextProcessContext
§impl Unpin for TextProcessContext
§impl UnwindSafe for TextProcessContext
Blanket Implementations§
source§impl<T> Any for Twhere
+Trait Implementations§
source§impl Debug for TextProcessContext
source§impl<'de> Deserialize<'de> for TextProcessContext
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl Freeze for TextProcessContext
§impl RefUnwindSafe for TextProcessContext
§impl Send for TextProcessContext
§impl Sync for TextProcessContext
§impl Unpin for TextProcessContext
§impl UnwindSafe for TextProcessContext
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
\ No newline at end of file
+ U: Into<T>,
pub struct TextProcessResult {
+TextProcessResult in ayaka_bindings_types - Rust Struct ayaka_bindings_types::TextProcessResult
source · pub struct TextProcessResult {
pub text: ActionText,
}
Expand description
The result of commands in text plugins.
See examples at TextProcessContext
.
Fields§
§text: ActionText
The lines to append.
-Trait Implementations§
source§impl Debug for TextProcessResult
source§impl Default for TextProcessResult
source§fn default() -> TextProcessResult
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for TextProcessResult
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl Freeze for TextProcessResult
§impl RefUnwindSafe for TextProcessResult
§impl Send for TextProcessResult
§impl Sync for TextProcessResult
§impl Unpin for TextProcessResult
§impl UnwindSafe for TextProcessResult
Blanket Implementations§
source§impl<T> Any for Twhere
+Trait Implementations§
source§impl Debug for TextProcessResult
source§impl Default for TextProcessResult
source§fn default() -> TextProcessResult
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for TextProcessResult
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl Freeze for TextProcessResult
§impl RefUnwindSafe for TextProcessResult
§impl Send for TextProcessResult
§impl Sync for TextProcessResult
§impl Unpin for TextProcessResult
§impl UnwindSafe for TextProcessResult
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
\ No newline at end of file
+ U: Into<T>,
pub type VarMap = HashMap<String, RawValue>;
A map from variable name to [RawValue
].
pub enum OpenGameStatus {
+OpenGameStatus in ayaka_model - Rust Enum ayaka_model::OpenGameStatus
source · pub enum OpenGameStatus {
LoadSettings,
LoadGlobalRecords,
LoadRecords,
@@ -11,8 +10,8 @@
§Loaded
The game is loaded.
source
. Read moreself
and other
values to be equal, and is used
by ==
.The high level wrapper model of Ayaka.
+The high level wrapper model of Ayaka.
This crate provides a view model for a full-functionality frontend, and a abstract trait of settings manager.
It re-exports the types of [ayaka_runtime
].
pub struct ActionRecord {
+ActionRecord in ayaka_model - Rust Struct ayaka_model::ActionRecord
source · pub struct ActionRecord {
pub history: Vec<RawContext>,
}
Expand description
The specific record.
Fields§
§history: Vec<RawContext>
The history actions.
Implementations§
source§impl ActionRecord
sourcepub fn last_ctx(&self) -> Option<&RawContext>
Get the [RawContext
] object from the last [Action
] in the history.
sourcepub fn last_ctx_with_game(&self, game: &Game) -> RawContext
Get the [RawContext
] object from the last [Action
] in the history,
and if the history is empty, create a new [RawContext
] from the game.
-Trait Implementations§
source§impl Clone for ActionRecord
source§fn clone(&self) -> ActionRecord
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ActionRecord
source§impl Default for ActionRecord
source§fn default() -> ActionRecord
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for ActionRecord
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl Freeze for ActionRecord
§impl RefUnwindSafe for ActionRecord
§impl Send for ActionRecord
§impl Sync for ActionRecord
§impl Unpin for ActionRecord
§impl UnwindSafe for ActionRecord
Blanket Implementations§
Trait Implementations§
source§impl Clone for ActionRecord
source§fn clone(&self) -> ActionRecord
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ActionRecord
source§impl Default for ActionRecord
source§fn default() -> ActionRecord
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for ActionRecord
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl Freeze for ActionRecord
§impl RefUnwindSafe for ActionRecord
§impl Send for ActionRecord
§impl Sync for ActionRecord
§impl Unpin for ActionRecord
§impl UnwindSafe for ActionRecord
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
§impl<T> ErasedDestructor for Twhere
+ U: Into<T>,
§type Error = Infallible
The type returned in the event of a conversion error.source§impl<T> DeserializeOwned for Twhere
+ T: for<'de> Deserialize<'de>,
§impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> MaybeSendSync for T
pub struct GameViewModel<S: SettingsManager, M: RawModule + Send + Sync + 'static> { /* private fields */ }
A view model of Ayaka. +
pub struct GameViewModel<S: SettingsManager, M: RawModule + Send + Sync + 'static> { /* private fields */ }
A view model of Ayaka. It manages all settings and provides high-level APIs.
Create a GameViewModel
with a settings manager.
Open the game with context.
+) -> impl Future<Output = Result<()>> + Stream<Item = OpenGameStatus> + 'aOpen the game with context.
The [Context
], should be called after Self::open_game
.
The [Context
], should be called after Self::open_game
.
The current ActionRecord
.
Get the current action by language and secondary language.
Save current ActionRecord
to the records.
Save all settings and records.
+Save all settings and records.
Determine if current run has been visited.
Get the last action text from each record.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
pub struct GlobalRecord {
+GlobalRecord in ayaka_model - Rust Struct ayaka_model::GlobalRecord
source · pub struct GlobalRecord {
pub record: HashMap<String, usize>,
}
Expand description
The global record.
Fields§
§record: HashMap<String, usize>
The key is the tag of paragraphs,
@@ -7,9 +6,9 @@
Implementations§
Trait Implementations§
source§impl Clone for GlobalRecord
source§fn clone(&self) -> GlobalRecord
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for GlobalRecord
source§impl Default for GlobalRecord
source§fn default() -> GlobalRecord
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for GlobalRecord
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl Freeze for GlobalRecord
§impl RefUnwindSafe for GlobalRecord
§impl Send for GlobalRecord
§impl Sync for GlobalRecord
§impl Unpin for GlobalRecord
§impl UnwindSafe for GlobalRecord
Blanket Implementations§
Trait Implementations§
source§impl Clone for GlobalRecord
source§fn clone(&self) -> GlobalRecord
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for GlobalRecord
source§impl Default for GlobalRecord
source§fn default() -> GlobalRecord
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for GlobalRecord
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl Freeze for GlobalRecord
§impl RefUnwindSafe for GlobalRecord
§impl Send for GlobalRecord
§impl Sync for GlobalRecord
§impl Unpin for GlobalRecord
§impl UnwindSafe for GlobalRecord
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
§impl<T> ErasedDestructor for Twhere
+ U: Into<T>,
§type Error = Infallible
The type returned in the event of a conversion error.source§impl<T> DeserializeOwned for Twhere
+ T: for<'de> Deserialize<'de>,
§impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> MaybeSendSync for T
pub struct Settings {
+Settings in ayaka_model - Rust Struct ayaka_model::Settings
source · pub struct Settings {
pub lang: Locale,
pub sub_lang: Option<Locale>,
pub bgm_volume: u8,
@@ -11,9 +10,9 @@
§bgm_volume: u8
Volume of background music.
§voice_volume: u8
Volume of voices.
§video_volume: u8
Volume of videos.
-Trait Implementations§
source§impl<'de> Deserialize<'de> for Settings
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl Freeze for Settings
§impl RefUnwindSafe for Settings
§impl Send for Settings
§impl Sync for Settings
§impl Unpin for Settings
§impl UnwindSafe for Settings
Blanket Implementations§
source§impl<T> Any for Twhere
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Settings
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl Freeze for Settings
§impl RefUnwindSafe for Settings
§impl Send for Settings
§impl Sync for Settings
§impl Unpin for Settings
§impl UnwindSafe for Settings
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
§impl<T> ErasedDestructor for Twhere
+ U: Into<T>,
§type Error = Infallible
The type returned in the event of a conversion error.source§impl<T> DeserializeOwned for Twhere
+ T: for<'de> Deserialize<'de>,
§impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> MaybeSendSync for T
\ No newline at end of file
diff --git a/doc/ayaka_model/trait.SettingsManager.html b/doc/ayaka_model/trait.SettingsManager.html
index 3f9b912f..64a7e4a0 100644
--- a/doc/ayaka_model/trait.SettingsManager.html
+++ b/doc/ayaka_model/trait.SettingsManager.html
@@ -1,52 +1,51 @@
-SettingsManager in ayaka_model - Rust
- Trait ayaka_model::SettingsManager
source · pub trait SettingsManager {
+SettingsManager in ayaka_model - Rust Trait ayaka_model::SettingsManager
source · pub trait SettingsManager {
// Required methods
- fn load_file<T: DeserializeOwned>(
+ fn load_file<T: DeserializeOwned>(
&self,
path: impl AsRef<Path>
- ) -> Result<T>;
- fn save_file<T: Serialize>(
+ ) -> Result<T>;
+ fn save_file<T: Serialize>(
&self,
path: impl AsRef<Path>,
data: &T,
pretty: bool
- ) -> Result<()>;
- fn settings_path(&self) -> Result<PathBuf>;
- fn global_record_path(&self, game: &str) -> Result<PathBuf>;
+ ) -> Result<()>;
+ fn settings_path(&self) -> Result<PathBuf>;
+ fn global_record_path(&self, game: &str) -> Result<PathBuf>;
fn records_path(
&self,
game: &str
- ) -> Result<impl Iterator<Item = Result<PathBuf>>>;
- fn record_path(&self, game: &str, i: usize) -> Result<PathBuf>;
+ ) -> Result<impl Iterator<Item = Result<PathBuf>>>;
+ fn record_path(&self, game: &str, i: usize) -> Result<PathBuf>;
// Provided methods
- fn load_settings(&self) -> Result<Settings> { ... }
- fn save_settings(&self, data: &Settings) -> Result<()> { ... }
- fn load_global_record(&self, game: &str) -> Result<GlobalRecord> { ... }
- fn save_global_record(&self, game: &str, data: &GlobalRecord) -> Result<()> { ... }
- fn load_records(&self, game: &str) -> Result<Vec<ActionRecord>> { ... }
- fn save_records(&self, game: &str, contexts: &[ActionRecord]) -> Result<()> { ... }
+ fn load_settings(&self) -> Result<Settings> { ... }
+ fn save_settings(&self, data: &Settings) -> Result<()> { ... }
+ fn load_global_record(&self, game: &str) -> Result<GlobalRecord> { ... }
+ fn save_global_record(&self, game: &str, data: &GlobalRecord) -> Result<()> { ... }
+ fn load_records(&self, game: &str) -> Result<Vec<ActionRecord>> { ... }
+ fn save_records(&self, game: &str, contexts: &[ActionRecord]) -> Result<()> { ... }
}
Expand description
A settings manager trait.
This type should handle the file loading and saving,
and manage the paths of the files.
-Required Methods§
Required Methods§
sourcefn load_file<T: DeserializeOwned>(&self, path: impl AsRef<Path>) -> Result<T>
Load a file from specified path.
+sourcefn save_file<T: Serialize>(
&self,
path: impl AsRef<Path>,
data: &T,
pretty: bool
-) -> Result<()>
Save a file to specified path.
-sourcefn settings_path(&self) -> Result<PathBuf>
Get the settings path.
-sourcefn global_record_path(&self, game: &str) -> Result<PathBuf>
Get the global record path.
+) -> Result<()>Save a file to specified path.
+sourcefn settings_path(&self) -> Result<PathBuf>
Get the settings path.
+sourcefn global_record_path(&self, game: &str) -> Result<PathBuf>
Get the global record path.
Provided Methods§
sourcefn load_settings(&self) -> Result<Settings>
Load Settings
.
-sourcefn load_global_record(&self, game: &str) -> Result<GlobalRecord>
Load GlobalRecord
.
-sourcefn save_global_record(&self, game: &str, data: &GlobalRecord) -> Result<()>
Save GlobalRecord
.
-sourcefn load_records(&self, game: &str) -> Result<Vec<ActionRecord>>
Load all ActionRecord
.
-sourcefn save_records(&self, game: &str, contexts: &[ActionRecord]) -> Result<()>
Save all ActionRecord
.
+) -> Result<impl Iterator<Item = Result<PathBuf>>>Get an iterator of record paths.
+Provided Methods§
sourcefn load_settings(&self) -> Result<Settings>
Load Settings
.
+sourcefn load_global_record(&self, game: &str) -> Result<GlobalRecord>
Load GlobalRecord
.
+sourcefn save_global_record(&self, game: &str, data: &GlobalRecord) -> Result<()>
Save GlobalRecord
.
+sourcefn load_records(&self, game: &str) -> Result<Vec<ActionRecord>>
Load all ActionRecord
.
+sourcefn save_records(&self, game: &str, contexts: &[ActionRecord]) -> Result<()>
Save all ActionRecord
.
Object Safety§
This trait is not object safe.Implementors§
\ No newline at end of file
diff --git a/doc/ayaka_plugin/all.html b/doc/ayaka_plugin/all.html
index db399ad7..ba792016 100644
--- a/doc/ayaka_plugin/all.html
+++ b/doc/ayaka_plugin/all.html
@@ -1,2 +1 @@
-List of all items in this crate
- List of all items
Structs
Traits
Constants
\ No newline at end of file
+List of all items in this crate List of all items
Structs
Traits
Constants
\ No newline at end of file
diff --git a/doc/ayaka_plugin/constant.ABI_ALLOC_NAME.html b/doc/ayaka_plugin/constant.ABI_ALLOC_NAME.html
index 700de556..6621b9ff 100644
--- a/doc/ayaka_plugin/constant.ABI_ALLOC_NAME.html
+++ b/doc/ayaka_plugin/constant.ABI_ALLOC_NAME.html
@@ -1,3 +1,2 @@
-ABI_ALLOC_NAME in ayaka_plugin - Rust
- Constant ayaka_plugin::ABI_ALLOC_NAME
source · pub const ABI_ALLOC_NAME: &str = "__abi_alloc";
Expand description
The exported method __abi_alloc
.
+ABI_ALLOC_NAME in ayaka_plugin - Rust Constant ayaka_plugin::ABI_ALLOC_NAME
source · pub const ABI_ALLOC_NAME: &str = "__abi_alloc";
Expand description
The exported method __abi_alloc
.
\ No newline at end of file
diff --git a/doc/ayaka_plugin/constant.ABI_FREE_NAME.html b/doc/ayaka_plugin/constant.ABI_FREE_NAME.html
index c27343f6..f719459d 100644
--- a/doc/ayaka_plugin/constant.ABI_FREE_NAME.html
+++ b/doc/ayaka_plugin/constant.ABI_FREE_NAME.html
@@ -1,3 +1,2 @@
-ABI_FREE_NAME in ayaka_plugin - Rust
- Constant ayaka_plugin::ABI_FREE_NAME
source · pub const ABI_FREE_NAME: &str = "__abi_free";
Expand description
The exported method __abi_free
.
+ABI_FREE_NAME in ayaka_plugin - Rust Constant ayaka_plugin::ABI_FREE_NAME
source · pub const ABI_FREE_NAME: &str = "__abi_free";
Expand description
The exported method __abi_free
.
\ No newline at end of file
diff --git a/doc/ayaka_plugin/constant.MEMORY_NAME.html b/doc/ayaka_plugin/constant.MEMORY_NAME.html
index 48fc0368..dd99a6a7 100644
--- a/doc/ayaka_plugin/constant.MEMORY_NAME.html
+++ b/doc/ayaka_plugin/constant.MEMORY_NAME.html
@@ -1,3 +1,2 @@
-MEMORY_NAME in ayaka_plugin - Rust
- Constant ayaka_plugin::MEMORY_NAME
source · pub const MEMORY_NAME: &str = "memory";
Expand description
The default exported memory name.
+MEMORY_NAME in ayaka_plugin - Rust Constant ayaka_plugin::MEMORY_NAME
source · pub const MEMORY_NAME: &str = "memory";
Expand description
The default exported memory name.
\ No newline at end of file
diff --git a/doc/ayaka_plugin/index.html b/doc/ayaka_plugin/index.html
index 96371aca..96608262 100644
--- a/doc/ayaka_plugin/index.html
+++ b/doc/ayaka_plugin/index.html
@@ -1,6 +1,4 @@
-ayaka_plugin - Rust
- Crate ayaka_plugin
source · Expand description
Base crate for plugin runtimes.
+ayaka_plugin - Rust Crate ayaka_plugin
source · Expand description
Base crate for plugin runtimes.
This crate provides abstract types and traits
for different plugin backends.
-Re-exports§
Structs§
- High-level wrapper for plugin module.
Constants§
- The exported method
__abi_alloc
. - The exported method
__abi_free
. - The default exported memory name.
Traits§
- Represents the linker of plugin modules.
- Represents a handle of linker.
- Represents a raw plugin module.
\ No newline at end of file
+Re-exports§
Structs§
- High-level wrapper for plugin module.
Constants§
- The exported method
__abi_alloc
. - The exported method
__abi_free
. - The default exported memory name.
Traits§
- Represents the linker of plugin modules.
- Represents a handle of linker.
- Represents a raw plugin module.
\ No newline at end of file
diff --git a/doc/ayaka_plugin/struct.PluginModule.html b/doc/ayaka_plugin/struct.PluginModule.html
index de99cef7..ddfbd433 100644
--- a/doc/ayaka_plugin/struct.PluginModule.html
+++ b/doc/ayaka_plugin/struct.PluginModule.html
@@ -1,11 +1,10 @@
-PluginModule in ayaka_plugin - Rust
- Struct ayaka_plugin::PluginModule
source · pub struct PluginModule<M: RawModule> { /* private fields */ }
Expand description
High-level wrapper for plugin module.
+PluginModule in ayaka_plugin - Rust Struct ayaka_plugin::PluginModule
source · pub struct PluginModule<M: RawModule> { /* private fields */ }
Expand description
High-level wrapper for plugin module.
Implementations§
source§impl<M: RawModule> PluginModule<M>
Auto Trait Implementations§
§impl<M> Freeze for PluginModule<M>where
@@ -23,5 +22,5 @@
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
\ No newline at end of file
+ U: Into<T>,§type Error = Infallible
The type returned in the event of a conversion error.
\ No newline at end of file
diff --git a/doc/ayaka_plugin/trait.Linker.html b/doc/ayaka_plugin/trait.Linker.html
index 03bf7321..4721b255 100644
--- a/doc/ayaka_plugin/trait.Linker.html
+++ b/doc/ayaka_plugin/trait.Linker.html
@@ -1,48 +1,47 @@
-Linker in ayaka_plugin - Rust
- Trait ayaka_plugin::Linker
source · pub trait Linker<M: RawModule>: Sized {
+Linker in ayaka_plugin - Rust Trait ayaka_plugin::Linker
source · pub trait Linker<M: RawModule>: Sized {
type Config;
// Required methods
- fn new(config: Self::Config) -> Result<Self>;
- fn create(&self, binary: &[u8]) -> Result<M>;
+ fn new(config: Self::Config) -> Result<Self>;
+ fn create(&self, binary: &[u8]) -> Result<M>;
fn import(
&mut self,
ns: impl Into<String>,
funcs: HashMap<String, M::Func>
- ) -> Result<()>;
+ ) -> Result<()>;
fn wrap_raw(
&self,
- f: impl Fn(M::LinkerHandle<'_>, i32, i32) -> Result<Vec<u8>> + Send + Sync + 'static
+ f: impl Fn(M::LinkerHandle<'_>, i32, i32) -> Result<Vec<u8>> + Send + Sync + 'static
) -> M::Func;
// Provided methods
- fn wrap<P: DeserializeOwned + Tuple, R: Serialize>(
+ fn wrap<P: DeserializeOwned + Tuple, R: Serialize>(
&self,
- f: impl Fn(P) -> Result<R> + Send + Sync + 'static
+ f: impl Fn(P) -> Result<R> + Send + Sync + 'static
) -> M::Func { ... }
- fn wrap_with<P: DeserializeOwned + Tuple, R: Serialize>(
+ fn wrap_with<P: DeserializeOwned + Tuple, R: Serialize>(
&self,
- f: impl Fn(M::LinkerHandle<'_>, P) -> Result<R> + Send + Sync + 'static
+ f: impl Fn(M::LinkerHandle<'_>, P) -> Result<R> + Send + Sync + 'static
) -> M::Func { ... }
}
Expand description
Represents the linker of plugin modules.
Required Associated Types§
Required Methods§
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.Implementors§
\ No newline at end of file
diff --git a/doc/ayaka_plugin/trait.LinkerHandle.html b/doc/ayaka_plugin/trait.LinkerHandle.html
index 42d3d76e..ab59afad 100644
--- a/doc/ayaka_plugin/trait.LinkerHandle.html
+++ b/doc/ayaka_plugin/trait.LinkerHandle.html
@@ -1,13 +1,12 @@
-LinkerHandle in ayaka_plugin - Rust
- Trait ayaka_plugin::LinkerHandle
source · pub trait LinkerHandle<'a, M: RawModule> {
+LinkerHandle in ayaka_plugin - Rust Trait ayaka_plugin::LinkerHandle
source · pub trait LinkerHandle<'a, M: RawModule> {
// Required methods
fn call<T>(
&mut self,
m: &M,
name: &str,
args: &[u8],
- f: impl FnOnce(&[u8]) -> Result<T>
- ) -> Result<T>;
+ f: impl FnOnce(&[u8]) -> Result<T>
+ ) -> Result<T>;
fn slice<T>(&self, start: i32, len: i32, f: impl FnOnce(&[u8]) -> T) -> T;
fn slice_mut<T>(
&mut self,
@@ -23,8 +22,8 @@
m: &M,
name: &str,
args: &[u8],
- f: impl FnOnce(&[u8]) -> Result<T>
-) -> Result<T>
Call methods of a module.
+ f: impl FnOnce(&[u8]) -> Result<T>
+) -> Result<T>Call methods of a module.
sourcefn slice_mut<T>(
&mut self,
diff --git a/doc/ayaka_plugin/trait.RawModule.html b/doc/ayaka_plugin/trait.RawModule.html
index c52ef870..db305ffa 100644
--- a/doc/ayaka_plugin/trait.RawModule.html
+++ b/doc/ayaka_plugin/trait.RawModule.html
@@ -1,5 +1,4 @@
-RawModule in ayaka_plugin - Rust
- Trait ayaka_plugin::RawModule
source · pub trait RawModule: Sized {
+RawModule in ayaka_plugin - Rust Trait ayaka_plugin::RawModule
source · pub trait RawModule: Sized {
type Linker: Linker<Self>;
type LinkerHandle<'a>: LinkerHandle<'a, Self>;
type Func;
@@ -9,8 +8,8 @@
&self,
name: &str,
args: &[u8],
- f: impl FnOnce(&[u8]) -> Result<T>
- ) -> Result<T>;
+ f: impl FnOnce(&[u8]) -> Result<T>
+ ) -> Result<T>;
}
Expand description
Represents a raw plugin module.
Required Associated Types§
sourcetype LinkerHandle<'a>: LinkerHandle<'a, Self>
The linker handle type.
@@ -19,7 +18,7 @@
&self,
name: &str,
args: &[u8],
- f: impl FnOnce(&[u8]) -> Result<T>
-) -> Result<T>Calls a method by name.
+ f: impl FnOnce(&[u8]) -> Result<T>
+) -> Result<T>Calls a method by name.
The args and returns are bytes.
Object Safety§
This trait is not object safe.Implementors§
\ No newline at end of file
diff --git a/doc/ayaka_plugin_wasmer/all.html b/doc/ayaka_plugin_wasmer/all.html
index 42b12a54..b99ecd8b 100644
--- a/doc/ayaka_plugin_wasmer/all.html
+++ b/doc/ayaka_plugin_wasmer/all.html
@@ -1,2 +1 @@
-List of all items in this crate
- List of all items
Structs
\ No newline at end of file
+List of all items in this crate List of all items
Structs
\ No newline at end of file
diff --git a/doc/ayaka_plugin_wasmer/index.html b/doc/ayaka_plugin_wasmer/index.html
index 00ed3469..fbbec127 100644
--- a/doc/ayaka_plugin_wasmer/index.html
+++ b/doc/ayaka_plugin_wasmer/index.html
@@ -1,4 +1,2 @@
-ayaka_plugin_wasmer - Rust
- Crate ayaka_plugin_wasmer
source · Expand description
Wasmer-based plugin backend.
+ayaka_plugin_wasmer - Rust Crate ayaka_plugin_wasmer
source · Expand description
Wasmer-based plugin backend.
Structs§
- Represents a wrapped wasmer function.
- A Wasmer [
Store
] with some imports. - A Wasmer [
StoreMut
]. - A Wasmer [
Instance
].
\ No newline at end of file
diff --git a/doc/ayaka_plugin_wasmer/struct.WasmerFunction.html b/doc/ayaka_plugin_wasmer/struct.WasmerFunction.html
index ce135cd9..a3dc5fd0 100644
--- a/doc/ayaka_plugin_wasmer/struct.WasmerFunction.html
+++ b/doc/ayaka_plugin_wasmer/struct.WasmerFunction.html
@@ -1,5 +1,4 @@
-WasmerFunction in ayaka_plugin_wasmer - Rust
- Struct ayaka_plugin_wasmer::WasmerFunction
source · pub struct WasmerFunction(/* private fields */);
Expand description
Represents a wrapped wasmer function.
+WasmerFunction in ayaka_plugin_wasmer - Rust Struct ayaka_plugin_wasmer::WasmerFunction
source · pub struct WasmerFunction(/* private fields */);
Expand description
Represents a wrapped wasmer function.
Trait Implementations§
source§impl Clone for WasmerFunction
source§fn clone(&self) -> WasmerFunction
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl Freeze for WasmerFunction
§impl !RefUnwindSafe for WasmerFunction
§impl Send for WasmerFunction
§impl Sync for WasmerFunction
§impl Unpin for WasmerFunction
§impl !UnwindSafe for WasmerFunction
Blanket Implementations§
§impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
@@ -18,10 +17,17 @@
U: From<T>,
§impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.source§impl<T> IntoEither for T
source§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>
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§impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.§impl<T> Pointable for T
§impl<T> Upcastable for T
§fn upcast_any_ref(&self) -> &(dyn Any + 'static)
upcast ref§fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
upcast mut ref§fn upcast_any_box(self: Box<T>) -> Box<dyn Any>
upcast boxed dyn§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
diff --git a/doc/ayaka_plugin_wasmer/struct.WasmerLinker.html b/doc/ayaka_plugin_wasmer/struct.WasmerLinker.html
index f0d50862..ec48d944 100644
--- a/doc/ayaka_plugin_wasmer/struct.WasmerLinker.html
+++ b/doc/ayaka_plugin_wasmer/struct.WasmerLinker.html
@@ -1,23 +1,22 @@
-WasmerLinker in ayaka_plugin_wasmer - Rust
- Struct ayaka_plugin_wasmer::WasmerLinker
source · pub struct WasmerLinker { /* private fields */ }
Expand description
A Wasmer [Store
] with some imports.
-Trait Implementations§
source§impl Linker<WasmerModule> for WasmerLinker
source§fn import(
+WasmerLinker in ayaka_plugin_wasmer - Rust Struct ayaka_plugin_wasmer::WasmerLinker
source · pub struct WasmerLinker { /* private fields */ }
Expand description
A Wasmer [Store
] with some imports.
+Trait Implementations§
source§impl Linker<WasmerModule> for WasmerLinker
source§fn import(
&mut self,
ns: impl Into<String>,
funcs: HashMap<String, WasmerFunction>
-) -> Result<()>
Import functions by namespace and names.source§fn wrap_raw(
&self,
- f: impl Fn(WasmerLinkerHandle<'_>, i32, i32) -> Result<Vec<u8>> + Send + Sync + 'static
+ f: impl Fn(WasmerLinkerHandle<'_>, i32, i32) -> Result<Vec<u8>> + Send + Sync + 'static
) -> WasmerFunction
Wrap a function with args in bytes.§fn wrap<P, R>(
&self,
- f: impl Fn(P) -> Result<R, Error> + Send + Sync + 'static
+ f: impl Fn(P) -> Result<R, Error> + Send + Sync + 'static
) -> <M as RawModule>::Func
Wrap a function with args.§fn wrap_with<P, R>(
+ P: DeserializeOwned + Tuple,
+ R: Serialize,
Wrap a function with args.Auto Trait Implementations§
§impl Freeze for WasmerLinker
§impl !RefUnwindSafe for WasmerLinker
§impl Send for WasmerLinker
§impl Sync for WasmerLinker
§impl Unpin for WasmerLinker
§impl !UnwindSafe for WasmerLinker
Blanket Implementations§
Auto Trait Implementations§
§impl Freeze for WasmerLinker
§impl !RefUnwindSafe for WasmerLinker
§impl Send for WasmerLinker
§impl Sync for WasmerLinker
§impl Unpin for WasmerLinker
§impl !UnwindSafe for WasmerLinker
Blanket Implementations§
§impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.§impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.§impl<T> Pointable for T
§impl<T> Upcastable for Twhere
+
source§impl<T> IntoEither for T
source§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>
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§impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.§impl<T> Pointable for T
§impl<T> Upcastable for T
§fn upcast_any_ref(&self) -> &(dyn Any + 'static)
upcast ref§fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
upcast mut ref§fn upcast_any_box(self: Box<T>) -> Box<dyn Any>
upcast boxed dyn§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
diff --git a/doc/ayaka_plugin_wasmer/struct.WasmerLinkerHandle.html b/doc/ayaka_plugin_wasmer/struct.WasmerLinkerHandle.html
index 0e62b62a..eb232946 100644
--- a/doc/ayaka_plugin_wasmer/struct.WasmerLinkerHandle.html
+++ b/doc/ayaka_plugin_wasmer/struct.WasmerLinkerHandle.html
@@ -1,12 +1,11 @@
-WasmerLinkerHandle in ayaka_plugin_wasmer - Rust
- Struct ayaka_plugin_wasmer::WasmerLinkerHandle
source · pub struct WasmerLinkerHandle<'a> { /* private fields */ }
Expand description
A Wasmer [StoreMut
].
+WasmerLinkerHandle in ayaka_plugin_wasmer - Rust Struct ayaka_plugin_wasmer::WasmerLinkerHandle
source · pub struct WasmerLinkerHandle<'a> { /* private fields */ }
Expand description
A Wasmer [StoreMut
].
Trait Implementations§
source§impl<'a> LinkerHandle<'a, WasmerModule> for WasmerLinkerHandle<'a>
§impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.§impl<T> Pointable for T
§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+
source§impl<T> IntoEither for T
source§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>
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§impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.§impl<T> Pointable for T
§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/doc/ayaka_plugin_wasmer/struct.WasmerModule.html b/doc/ayaka_plugin_wasmer/struct.WasmerModule.html
index 0e17db15..2a0e4aba 100644
--- a/doc/ayaka_plugin_wasmer/struct.WasmerModule.html
+++ b/doc/ayaka_plugin_wasmer/struct.WasmerModule.html
@@ -1,39 +1,38 @@
-WasmerModule in ayaka_plugin_wasmer - Rust
- Struct ayaka_plugin_wasmer::WasmerModule
source · pub struct WasmerModule { /* private fields */ }
Expand description
A Wasmer [Instance
].
-Trait Implementations§
source§impl Linker<WasmerModule> for WasmerLinker
source§fn import(
+WasmerModule in ayaka_plugin_wasmer - Rust Struct ayaka_plugin_wasmer::WasmerModule
source · pub struct WasmerModule { /* private fields */ }
Expand description
A Wasmer [Instance
].
+Trait Implementations§
source§impl Linker<WasmerModule> for WasmerLinker
source§fn import(
&mut self,
ns: impl Into<String>,
funcs: HashMap<String, WasmerFunction>
-) -> Result<()>
Import functions by namespace and names.source§fn wrap_raw(
&self,
- f: impl Fn(WasmerLinkerHandle<'_>, i32, i32) -> Result<Vec<u8>> + Send + Sync + 'static
+ f: impl Fn(WasmerLinkerHandle<'_>, i32, i32) -> Result<Vec<u8>> + Send + Sync + 'static
) -> WasmerFunction
Wrap a function with args in bytes.§fn wrap<P, R>(
&self,
- f: impl Fn(P) -> Result<R, Error> + Send + Sync + 'static
+ f: impl Fn(P) -> Result<R, Error> + Send + Sync + 'static
) -> <M as RawModule>::Func
Wrap a function with args.§fn wrap_with<P, R>(
+ P: DeserializeOwned + Tuple,
+ R: Serialize,
Wrap a function with args.source§impl<'a> LinkerHandle<'a, WasmerModule> for WasmerLinkerHandle<'a>
Wrap a function with args and linker handle.
source§impl<'a> LinkerHandle<'a, WasmerModule> for WasmerLinkerHandle<'a>
source§impl RawModule for WasmerModule
§type Linker = WasmerLinker
The linker type that can create raw module.§type LinkerHandle<'a> = WasmerLinkerHandle<'a>
The linker handle type.§type Func = WasmerFunction
The import function type.source§impl RawModule for WasmerModule
§type Linker = WasmerLinker
The linker type that can create raw module.§type LinkerHandle<'a> = WasmerLinkerHandle<'a>
The linker handle type.§type Func = WasmerFunction
The import function type.Auto Trait Implementations§
§impl Freeze for WasmerModule
§impl RefUnwindSafe for WasmerModule
§impl Send for WasmerModule
§impl Sync for WasmerModule
§impl Unpin for WasmerModule
§impl UnwindSafe for WasmerModule
Blanket Implementations§
Auto Trait Implementations§
§impl Freeze for WasmerModule
§impl RefUnwindSafe for WasmerModule
§impl Send for WasmerModule
§impl Sync for WasmerModule
§impl Unpin for WasmerModule
§impl UnwindSafe for WasmerModule
Blanket Implementations§
§impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.§impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.§impl<T> Pointable for T
§impl<T> Upcastable for Twhere
+
source§impl<T> IntoEither for T
source§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>
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§impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.§impl<T> Pointable for T
§impl<T> Upcastable for T
§fn upcast_any_ref(&self) -> &(dyn Any + 'static)
upcast ref§fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
upcast mut ref§fn upcast_any_box(self: Box<T>) -> Box<dyn Any>
upcast boxed dyn§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
diff --git a/doc/ayaka_plugin_wasmi/all.html b/doc/ayaka_plugin_wasmi/all.html
index 87c7cc64..19d2c92a 100644
--- a/doc/ayaka_plugin_wasmi/all.html
+++ b/doc/ayaka_plugin_wasmi/all.html
@@ -1,2 +1 @@
-List of all items in this crate
- List of all items
Structs
\ No newline at end of file
+List of all items in this crate List of all items
Structs
\ No newline at end of file
diff --git a/doc/ayaka_plugin_wasmi/index.html b/doc/ayaka_plugin_wasmi/index.html
index 7045833a..76f33e3f 100644
--- a/doc/ayaka_plugin_wasmi/index.html
+++ b/doc/ayaka_plugin_wasmi/index.html
@@ -1,4 +1,2 @@
-ayaka_plugin_wasmi - Rust
- Crate ayaka_plugin_wasmi
source · Expand description
Wasmi-based plugin backend.
+ayaka_plugin_wasmi - Rust Crate ayaka_plugin_wasmi
source · Expand description
Wasmi-based plugin backend.
Structs§
- A Wasmi [
Store
] with [Linker
]. - A Wasmi [
StoreContextMut
]. - A Wasmi [
Instance
].
\ No newline at end of file
diff --git a/doc/ayaka_plugin_wasmi/struct.WasmiLinker.html b/doc/ayaka_plugin_wasmi/struct.WasmiLinker.html
index bc8670b9..3ab2849a 100644
--- a/doc/ayaka_plugin_wasmi/struct.WasmiLinker.html
+++ b/doc/ayaka_plugin_wasmi/struct.WasmiLinker.html
@@ -1,23 +1,22 @@
-WasmiLinker in ayaka_plugin_wasmi - Rust
- Struct ayaka_plugin_wasmi::WasmiLinker
source · pub struct WasmiLinker { /* private fields */ }
Expand description
A Wasmi [Store
] with [Linker
].
-Trait Implementations§
source§impl Linker<WasmiModule> for WasmiLinker
source§fn import(
+WasmiLinker in ayaka_plugin_wasmi - Rust Struct ayaka_plugin_wasmi::WasmiLinker
source · pub struct WasmiLinker { /* private fields */ }
Expand description
A Wasmi [Store
] with [Linker
].
+Trait Implementations§
source§impl Linker<WasmiModule> for WasmiLinker
source§fn import(
&mut self,
ns: impl Into<String>,
funcs: HashMap<String, Func>
-) -> Result<()>
Import functions by namespace and names.source§fn wrap_raw(
&self,
- f: impl Fn(WasmiLinkerHandle<'_>, i32, i32) -> Result<Vec<u8>> + Send + Sync + 'static
+ f: impl Fn(WasmiLinkerHandle<'_>, i32, i32) -> Result<Vec<u8>> + Send + Sync + 'static
) -> Func
Wrap a function with args in bytes.§fn wrap<P, R>(
&self,
- f: impl Fn(P) -> Result<R, Error> + Send + Sync + 'static
+ f: impl Fn(P) -> Result<R, Error> + Send + Sync + 'static
) -> <M as RawModule>::Func
Wrap a function with args.§fn wrap_with<P, R>(
+ P: DeserializeOwned + Tuple,
+ R: Serialize,
Wrap a function with args.Auto Trait Implementations§
§impl Freeze for WasmiLinker
§impl !RefUnwindSafe for WasmiLinker
§impl Send for WasmiLinker
§impl Sync for WasmiLinker
§impl Unpin for WasmiLinker
§impl !UnwindSafe for WasmiLinker
Blanket Implementations§
Auto Trait Implementations§
§impl Freeze for WasmiLinker
§impl !RefUnwindSafe for WasmiLinker
§impl Send for WasmiLinker
§impl Sync for WasmiLinker
§impl Unpin for WasmiLinker
§impl !UnwindSafe for WasmiLinker
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Downcast for Twhere
@@ -26,12 +25,12 @@
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.
§fn as_any(&self) -> &(dyn Any + 'static)
Convert &Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert &mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.
\ No newline at end of file
+ U: Into<T>,§type Error = Infallible
The type returned in the event of a conversion error.
\ No newline at end of file
diff --git a/doc/ayaka_plugin_wasmi/struct.WasmiLinkerHandle.html b/doc/ayaka_plugin_wasmi/struct.WasmiLinkerHandle.html
index bbcce2b8..1eb96d7c 100644
--- a/doc/ayaka_plugin_wasmi/struct.WasmiLinkerHandle.html
+++ b/doc/ayaka_plugin_wasmi/struct.WasmiLinkerHandle.html
@@ -1,12 +1,11 @@
-WasmiLinkerHandle in ayaka_plugin_wasmi - Rust
- Struct ayaka_plugin_wasmi::WasmiLinkerHandle
source · pub struct WasmiLinkerHandle<'a> { /* private fields */ }
Expand description
A Wasmi [StoreContextMut
].
+WasmiLinkerHandle in ayaka_plugin_wasmi - Rust Struct ayaka_plugin_wasmi::WasmiLinkerHandle
source · pub struct WasmiLinkerHandle<'a> { /* private fields */ }
Expand description
A Wasmi [StoreContextMut
].
Trait Implementations§
source§impl<'a> LinkerHandle<'a, WasmiModule> for WasmiLinkerHandle<'a>
§fn as_any(&self) -> &(dyn Any + 'static)
Convert &Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert &mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.
\ No newline at end of file
+ U: Into<T>,§type Error = Infallible
The type returned in the event of a conversion error.
\ No newline at end of file
diff --git a/doc/ayaka_plugin_wasmi/struct.WasmiModule.html b/doc/ayaka_plugin_wasmi/struct.WasmiModule.html
index c64156b6..adfdf770 100644
--- a/doc/ayaka_plugin_wasmi/struct.WasmiModule.html
+++ b/doc/ayaka_plugin_wasmi/struct.WasmiModule.html
@@ -1,29 +1,28 @@
-WasmiModule in ayaka_plugin_wasmi - Rust
- Struct ayaka_plugin_wasmi::WasmiModule
source · pub struct WasmiModule { /* private fields */ }
Expand description
A Wasmi [Instance
].
-Trait Implementations§
source§impl Linker<WasmiModule> for WasmiLinker
source§fn import(
+WasmiModule in ayaka_plugin_wasmi - Rust Struct ayaka_plugin_wasmi::WasmiModule
source · pub struct WasmiModule { /* private fields */ }
Expand description
A Wasmi [Instance
].
+Trait Implementations§
source§impl Linker<WasmiModule> for WasmiLinker
source§fn import(
&mut self,
ns: impl Into<String>,
funcs: HashMap<String, Func>
-) -> Result<()>
Import functions by namespace and names.source§fn wrap_raw(
&self,
- f: impl Fn(WasmiLinkerHandle<'_>, i32, i32) -> Result<Vec<u8>> + Send + Sync + 'static
+ f: impl Fn(WasmiLinkerHandle<'_>, i32, i32) -> Result<Vec<u8>> + Send + Sync + 'static
) -> Func
Wrap a function with args in bytes.§fn wrap<P, R>(
&self,
- f: impl Fn(P) -> Result<R, Error> + Send + Sync + 'static
+ f: impl Fn(P) -> Result<R, Error> + Send + Sync + 'static
) -> <M as RawModule>::Func
Wrap a function with args.§fn wrap_with<P, R>(
+ P: DeserializeOwned + Tuple,
+ R: Serialize,
Wrap a function with args.source§impl<'a> LinkerHandle<'a, WasmiModule> for WasmiLinkerHandle<'a>
Wrap a function with args and linker handle.
source§impl<'a> LinkerHandle<'a, WasmiModule> for WasmiLinkerHandle<'a>
Auto Trait Implementations§
§impl Freeze for WasmiModule
§impl RefUnwindSafe for WasmiModule
§impl Send for WasmiModule
§impl Sync for WasmiModule
§impl Unpin for WasmiModule
§impl UnwindSafe for WasmiModule
Blanket Implementations§
Auto Trait Implementations§
§impl Freeze for WasmiModule
§impl RefUnwindSafe for WasmiModule
§impl Send for WasmiModule
§impl Sync for WasmiModule
§impl Unpin for WasmiModule
§impl UnwindSafe for WasmiModule
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Downcast for Twhere
@@ -42,12 +41,12 @@
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.
§fn as_any(&self) -> &(dyn Any + 'static)
Convert &Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert &mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.
\ No newline at end of file
+ U: Into<T>,
\ No newline at end of file
diff --git a/doc/ayaka_plugin_wasmtime/all.html b/doc/ayaka_plugin_wasmtime/all.html
index 83b4b9dd..73c6860b 100644
--- a/doc/ayaka_plugin_wasmtime/all.html
+++ b/doc/ayaka_plugin_wasmtime/all.html
@@ -1,2 +1 @@
-List of all items in this crate
- List of all items
Structs
\ No newline at end of file
+List of all items in this crate List of all items
Structs
\ No newline at end of file
diff --git a/doc/ayaka_plugin_wasmtime/index.html b/doc/ayaka_plugin_wasmtime/index.html
index fa4e0757..172af37e 100644
--- a/doc/ayaka_plugin_wasmtime/index.html
+++ b/doc/ayaka_plugin_wasmtime/index.html
@@ -1,4 +1,2 @@
-ayaka_plugin_wasmtime - Rust
- Crate ayaka_plugin_wasmtime
source · Expand description
Wasmtime-based plugin backend.
+ayaka_plugin_wasmtime - Rust Crate ayaka_plugin_wasmtime
source · Expand description
Wasmtime-based plugin backend.
Structs§
- A Wasmtime [
Store
] with [Linker
]. - A Wasmtime [
StoreContextMut
]. - A Wasmtime [
Instance
].
\ No newline at end of file
diff --git a/doc/ayaka_plugin_wasmtime/struct.WasmtimeLinker.html b/doc/ayaka_plugin_wasmtime/struct.WasmtimeLinker.html
index 866f90bf..4c9bc37d 100644
--- a/doc/ayaka_plugin_wasmtime/struct.WasmtimeLinker.html
+++ b/doc/ayaka_plugin_wasmtime/struct.WasmtimeLinker.html
@@ -1,23 +1,22 @@
-WasmtimeLinker in ayaka_plugin_wasmtime - Rust
- Struct ayaka_plugin_wasmtime::WasmtimeLinker
source · pub struct WasmtimeLinker { /* private fields */ }
Expand description
A Wasmtime [Store
] with [Linker
].
-Trait Implementations§
source§impl Linker<WasmtimeModule> for WasmtimeLinker
source§fn import(
+WasmtimeLinker in ayaka_plugin_wasmtime - Rust Struct ayaka_plugin_wasmtime::WasmtimeLinker
source · pub struct WasmtimeLinker { /* private fields */ }
Expand description
A Wasmtime [Store
] with [Linker
].
+Trait Implementations§
source§impl Linker<WasmtimeModule> for WasmtimeLinker
source§fn import(
&mut self,
ns: impl Into<String>,
funcs: HashMap<String, Func>
-) -> Result<()>
Import functions by namespace and names.source§fn wrap_raw(
&self,
- f: impl Fn(WasmtimeLinkerHandle<'_>, i32, i32) -> Result<Vec<u8>> + Send + Sync + 'static
+ f: impl Fn(WasmtimeLinkerHandle<'_>, i32, i32) -> Result<Vec<u8>> + Send + Sync + 'static
) -> Func
Wrap a function with args in bytes.§fn wrap<P, R>(
&self,
- f: impl Fn(P) -> Result<R, Error> + Send + Sync + 'static
+ f: impl Fn(P) -> Result<R, Error> + Send + Sync + 'static
) -> <M as RawModule>::Func
Wrap a function with args.§fn wrap_with<P, R>(
+ P: DeserializeOwned + Tuple,
+ R: Serialize,
Wrap a function with args.Auto Trait Implementations§
§impl Freeze for WasmtimeLinker
§impl !RefUnwindSafe for WasmtimeLinker
§impl Send for WasmtimeLinker
§impl Sync for WasmtimeLinker
§impl Unpin for WasmtimeLinker
§impl !UnwindSafe for WasmtimeLinker
Blanket Implementations§
Auto Trait Implementations§
§impl Freeze for WasmtimeLinker
§impl !RefUnwindSafe for WasmtimeLinker
§impl Send for WasmtimeLinker
§impl Sync for WasmtimeLinker
§impl Unpin for WasmtimeLinker
§impl !UnwindSafe for WasmtimeLinker
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
\ No newline at end of file
+source§impl<T> IntoEither for T
source§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>
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§impl<T> Pointable for T
\ No newline at end of file
diff --git a/doc/ayaka_plugin_wasmtime/struct.WasmtimeLinkerHandle.html b/doc/ayaka_plugin_wasmtime/struct.WasmtimeLinkerHandle.html
index fcb6b249..b42aad84 100644
--- a/doc/ayaka_plugin_wasmtime/struct.WasmtimeLinkerHandle.html
+++ b/doc/ayaka_plugin_wasmtime/struct.WasmtimeLinkerHandle.html
@@ -1,12 +1,11 @@
-WasmtimeLinkerHandle in ayaka_plugin_wasmtime - Rust
- pub struct WasmtimeLinkerHandle<'a> { /* private fields */ }
Expand description
A Wasmtime [StoreContextMut
].
+WasmtimeLinkerHandle in ayaka_plugin_wasmtime - Rust pub struct WasmtimeLinkerHandle<'a> { /* private fields */ }
Expand description
A Wasmtime [StoreContextMut
].
Trait Implementations§
source§impl<'a> LinkerHandle<'a, WasmtimeModule> for WasmtimeLinkerHandle<'a>
§impl<T> Pointable for T
\ No newline at end of file
+source§impl<T> IntoEither for T
source§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>
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§impl<T> Pointable for T
\ No newline at end of file
diff --git a/doc/ayaka_plugin_wasmtime/struct.WasmtimeModule.html b/doc/ayaka_plugin_wasmtime/struct.WasmtimeModule.html
index b99bf4c0..306ffc8f 100644
--- a/doc/ayaka_plugin_wasmtime/struct.WasmtimeModule.html
+++ b/doc/ayaka_plugin_wasmtime/struct.WasmtimeModule.html
@@ -1,29 +1,28 @@
-WasmtimeModule in ayaka_plugin_wasmtime - Rust
- Struct ayaka_plugin_wasmtime::WasmtimeModule
source · pub struct WasmtimeModule { /* private fields */ }
Expand description
A Wasmtime [Instance
].
-Trait Implementations§
source§impl Linker<WasmtimeModule> for WasmtimeLinker
source§fn import(
+WasmtimeModule in ayaka_plugin_wasmtime - Rust Struct ayaka_plugin_wasmtime::WasmtimeModule
source · pub struct WasmtimeModule { /* private fields */ }
Expand description
A Wasmtime [Instance
].
+Trait Implementations§
source§impl Linker<WasmtimeModule> for WasmtimeLinker
source§fn import(
&mut self,
ns: impl Into<String>,
funcs: HashMap<String, Func>
-) -> Result<()>
Import functions by namespace and names.source§fn wrap_raw(
&self,
- f: impl Fn(WasmtimeLinkerHandle<'_>, i32, i32) -> Result<Vec<u8>> + Send + Sync + 'static
+ f: impl Fn(WasmtimeLinkerHandle<'_>, i32, i32) -> Result<Vec<u8>> + Send + Sync + 'static
) -> Func
Wrap a function with args in bytes.§fn wrap<P, R>(
&self,
- f: impl Fn(P) -> Result<R, Error> + Send + Sync + 'static
+ f: impl Fn(P) -> Result<R, Error> + Send + Sync + 'static
) -> <M as RawModule>::Func
Wrap a function with args.§fn wrap_with<P, R>(
+ P: DeserializeOwned + Tuple,
+ R: Serialize,
Wrap a function with args.source§impl<'a> LinkerHandle<'a, WasmtimeModule> for WasmtimeLinkerHandle<'a>
Wrap a function with args and linker handle.
source§impl<'a> LinkerHandle<'a, WasmtimeModule> for WasmtimeLinkerHandle<'a>
Auto Trait Implementations§
§impl Freeze for WasmtimeModule
§impl RefUnwindSafe for WasmtimeModule
§impl Send for WasmtimeModule
§impl Sync for WasmtimeModule
§impl Unpin for WasmtimeModule
§impl UnwindSafe for WasmtimeModule
Blanket Implementations§
Auto Trait Implementations§
§impl Freeze for WasmtimeModule
§impl RefUnwindSafe for WasmtimeModule
§impl Send for WasmtimeModule
§impl Sync for WasmtimeModule
§impl Unpin for WasmtimeModule
§impl UnwindSafe for WasmtimeModule
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
\ No newline at end of file
+source§impl<T> IntoEither for T
source§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>
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§impl<T> Pointable for T
\ No newline at end of file
diff --git a/doc/ayaka_primitive/all.html b/doc/ayaka_primitive/all.html
index 4489be5e..8b520d33 100644
--- a/doc/ayaka_primitive/all.html
+++ b/doc/ayaka_primitive/all.html
@@ -1,2 +1 @@
-List of all items in this crate
-
\ No newline at end of file
+List of all items in this crate
\ No newline at end of file
diff --git a/doc/ayaka_primitive/enum.Line.html b/doc/ayaka_primitive/enum.Line.html
index 74d416bc..19aa6ca2 100644
--- a/doc/ayaka_primitive/enum.Line.html
+++ b/doc/ayaka_primitive/enum.Line.html
@@ -1,5 +1,4 @@
-Line in ayaka_primitive - Rust
- Enum ayaka_primitive::Line
source · pub enum Line {
+Line in ayaka_primitive - Rust Enum ayaka_primitive::Line
source · pub enum Line {
Empty,
Text(Text),
Switch {
@@ -9,11 +8,11 @@
}
Expand description
Represents a line in a prograph.
Variants§
§Empty
An empty line, usually fallbacks to the base language one.
§Text(Text)
A text line.
-§Switch
Some switches
.
-§Custom(HashMap<String, RawValue>)
Custom line types.
-Trait Implementations§
source§impl<'de> Deserialize<'de> for Line
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for Line
Trait Implementations§
source§impl<'de> Deserialize<'de> for Line
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for Line
source§impl Eq for Line
source§impl StructuralPartialEq for Line
Auto Trait Implementations§
§impl Freeze for Line
§impl RefUnwindSafe for Line
§impl Send for Line
§impl Sync for Line
§impl Unpin for Line
§impl UnwindSafe for Line
Blanket Implementations§
source§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
\ No newline at end of file
+ U: Into<T>,
source§impl<T> DeserializeOwned for Twhere
+ T: for<'de> Deserialize<'de>,
\ No newline at end of file
diff --git a/doc/ayaka_primitive/enum.RawValue.html b/doc/ayaka_primitive/enum.RawValue.html
index a7a05efd..f57c23fa 100644
--- a/doc/ayaka_primitive/enum.RawValue.html
+++ b/doc/ayaka_primitive/enum.RawValue.html
@@ -1,5 +1,4 @@
-RawValue in ayaka_primitive - Rust
- Enum ayaka_primitive::RawValue
source · pub enum RawValue {
+RawValue in ayaka_primitive - Rust Enum ayaka_primitive::RawValue
source · pub enum RawValue {
Unit,
Bool(bool),
Num(i64),
@@ -63,18 +62,18 @@
A RawValue::Bool
converts to “false” or “true”.
A RawValue::Num
converts to the string representation of the number.
-
Trait Implementations§
source§impl<'de> Deserialize<'de> for RawValue
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for RawValue
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Ord for RawValue
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
- Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl Ord for RawValue
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
+ Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for RawValue
source§impl PartialOrd for RawValue
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
-operator. Read moresource§impl Eq for RawValue
source§impl StructuralPartialEq for RawValue
Auto Trait Implementations§
§impl Freeze for RawValue
§impl RefUnwindSafe for RawValue
§impl Send for RawValue
§impl Sync for RawValue
§impl Unpin for RawValue
§impl UnwindSafe for RawValue
Blanket Implementations§
source§impl PartialOrd for RawValue
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
+operator. Read moresource§impl Eq for RawValue
source§impl StructuralPartialEq for RawValue
Auto Trait Implementations§
§impl Freeze for RawValue
§impl RefUnwindSafe for RawValue
§impl Send for RawValue
§impl Sync for RawValue
§impl Unpin for RawValue
§impl UnwindSafe for RawValue
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
\ No newline at end of file
+ U: Into<T>,§type Error = Infallible
The type returned in the event of a conversion error.source§impl<T> DeserializeOwned for Twhere
+ T: for<'de> Deserialize<'de>,
\ No newline at end of file
diff --git a/doc/ayaka_primitive/enum.SubText.html b/doc/ayaka_primitive/enum.SubText.html
index 4f92b5e2..1adad144 100644
--- a/doc/ayaka_primitive/enum.SubText.html
+++ b/doc/ayaka_primitive/enum.SubText.html
@@ -1,5 +1,4 @@
-SubText in ayaka_primitive - Rust
- Enum ayaka_primitive::SubText
source · pub enum SubText {
+SubText in ayaka_primitive - Rust
\ No newline at end of file
+ U: Into<T>,§type Error = Infallible
The type returned in the event of a conversion error.
\ No newline at end of file
diff --git a/doc/ayaka_primitive/enum.ValueType.html b/doc/ayaka_primitive/enum.ValueType.html
index 3020b875..b61c805a 100644
--- a/doc/ayaka_primitive/enum.ValueType.html
+++ b/doc/ayaka_primitive/enum.ValueType.html
@@ -1,5 +1,4 @@
-ValueType in ayaka_primitive - Rust
- Enum ayaka_primitive::ValueType
source · pub enum ValueType {
+ValueType in ayaka_primitive - Rust Enum ayaka_primitive::ValueType
source · pub enum ValueType {
Unit,
Bool,
Num,
@@ -9,13 +8,13 @@
§Bool
The boolean type.
§Num
The number type.
§Str
The string type.
-
Trait Implementations§
source§impl Ord for ValueType
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
- Self: Sized,
Compares and returns the maximum of two values. Read moreTrait Implementations§
source§impl Ord for ValueType
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
+ Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for ValueType
source§impl PartialOrd for ValueType
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
-operator. Read moresource§impl PartialOrd for ValueType
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
+operator. Read moresource§impl Copy for ValueType
source§impl Eq for ValueType
source§impl StructuralPartialEq for ValueType
Auto Trait Implementations§
§impl Freeze for ValueType
§impl RefUnwindSafe for ValueType
§impl Send for ValueType
§impl Sync for ValueType
§impl Unpin for ValueType
§impl UnwindSafe for ValueType
Blanket Implementations§
\ No newline at end of file
+ U: Into<T>,
§type Error = Infallible
The type returned in the event of a conversion error.
\ No newline at end of file
diff --git a/doc/ayaka_primitive/index.html b/doc/ayaka_primitive/index.html
index d2bf3112..fcc0dbee 100644
--- a/doc/ayaka_primitive/index.html
+++ b/doc/ayaka_primitive/index.html
@@ -1,4 +1,2 @@
-ayaka_primitive - Rust
- Crate ayaka_primitive
source · Expand description
Primitive types.
+ayaka_primitive - Rust
\ No newline at end of file
diff --git a/doc/ayaka_primitive/struct.Text.html b/doc/ayaka_primitive/struct.Text.html
index ea3fd6a0..22c0deda 100644
--- a/doc/ayaka_primitive/struct.Text.html
+++ b/doc/ayaka_primitive/struct.Text.html
@@ -1,5 +1,4 @@
-Text in ayaka_primitive - Rust
- Struct ayaka_primitive::Text
source · pub struct Text {
+Text in ayaka_primitive - Rust Struct ayaka_primitive::Text
source · pub struct Text {
pub ch_tag: Option<String>,
pub ch_alias: Option<String>,
pub sub_texts: Vec<SubText>,
@@ -7,8 +6,8 @@
Fields§
§ch_tag: Option<String>
The tag of current character.
§ch_alias: Option<String>
The alias of current character.
§sub_texts: Vec<SubText>
The texts.
-Trait Implementations§
source§impl<'de> Deserialize<'de> for Text
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
- D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for Text
source§fn eq(&self, other: &Text) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Text
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
+ D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for Text
source§impl Eq for Text
source§impl StructuralPartialEq for Text
Auto Trait Implementations§
§impl Freeze for Text
§impl RefUnwindSafe for Text
§impl Send for Text
§impl Sync for Text
§impl Unpin for Text
§impl UnwindSafe for Text
Blanket Implementations§
source§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
\ No newline at end of file
+ U: Into<T>,
§type Error = Infallible
The type returned in the event of a conversion error.source§impl<T> DeserializeOwned for Twhere
+ T: for<'de> Deserialize<'de>,
\ No newline at end of file
diff --git a/doc/ayaka_runtime/all.html b/doc/ayaka_runtime/all.html
index 11a63665..cf698ea2 100644
--- a/doc/ayaka_runtime/all.html
+++ b/doc/ayaka_runtime/all.html
@@ -1,2 +1 @@
-List of all items in this crate
- List of all items
Structs
- Context
- ContextBuilder
- ContextBuilderWithPaths
- Game
- GameConfig
- Paragraph
- PluginConfig
- plugin::Module
- plugin::Runtime
Enums
Macros
Functions
\ No newline at end of file
+List of all items in this crate List of all items
Structs
- Context
- ContextBuilder
- ContextBuilderWithPaths
- Game
- GameConfig
- Paragraph
- PluginConfig
- plugin::Module
- plugin::Runtime
Enums
Macros
Functions
\ No newline at end of file
diff --git a/doc/ayaka_runtime/enum.OpenStatus.html b/doc/ayaka_runtime/enum.OpenStatus.html
index c81ea74e..59d1670f 100644
--- a/doc/ayaka_runtime/enum.OpenStatus.html
+++ b/doc/ayaka_runtime/enum.OpenStatus.html
@@ -1,5 +1,4 @@
-OpenStatus in ayaka_runtime - Rust
- Enum ayaka_runtime::OpenStatus
source · pub enum OpenStatus {
+OpenStatus in ayaka_runtime - Rust Enum ayaka_runtime::OpenStatus
source · pub enum OpenStatus {
LoadProfile,
CreateRuntime,
LoadPlugin(String, usize, usize),
@@ -15,8 +14,8 @@
§LoadParagraph
Loading the paragraphs.
Trait Implementations§
source§impl Clone for OpenStatus
source§fn clone(&self) -> OpenStatus
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for OpenStatus
source§impl From<LoadStatus> for OpenStatus
source§fn from(value: LoadStatus) -> Self
Converts to this type from the input type.source§impl PartialEq for OpenStatus
source§fn eq(&self, other: &OpenStatus) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for OpenStatus
source§impl Eq for OpenStatus
source§impl StructuralPartialEq for OpenStatus
Auto Trait Implementations§
§impl Freeze for OpenStatus
§impl RefUnwindSafe for OpenStatus
§impl Send for OpenStatus
§impl Sync for OpenStatus
§impl Unpin for OpenStatus
§impl UnwindSafe for OpenStatus
Blanket Implementations§
source§impl Serialize for OpenStatus
source§impl Eq for OpenStatus
source§impl StructuralPartialEq for OpenStatus
Auto Trait Implementations§
§impl Freeze for OpenStatus
§impl RefUnwindSafe for OpenStatus
§impl Send for OpenStatus
§impl Sync for OpenStatus
§impl Unpin for OpenStatus
§impl UnwindSafe for OpenStatus
Blanket Implementations§
§impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> MaybeSendSync for T
\ No newline at end of file
diff --git a/doc/ayaka_runtime/fn.version.html b/doc/ayaka_runtime/fn.version.html
index 62f803a9..4e5a4f58 100644
--- a/doc/ayaka_runtime/fn.version.html
+++ b/doc/ayaka_runtime/fn.version.html
@@ -1,4 +1,3 @@
-version in ayaka_runtime - Rust
- Function ayaka_runtime::version
source · pub fn version() -> &'static str
Expand description
Get the version of Ayaka runtime.
+
version in ayaka_runtime - Rust Function ayaka_runtime::version
source · pub fn version() -> &'static str
Expand description
Get the version of Ayaka runtime.
This version string is exacted from CARGO_PKG_VERSION
.
\ No newline at end of file
diff --git a/doc/ayaka_runtime/index.html b/doc/ayaka_runtime/index.html
index 31a2b501..81979476 100644
--- a/doc/ayaka_runtime/index.html
+++ b/doc/ayaka_runtime/index.html
@@ -1,10 +1,8 @@
-ayaka_runtime - Rust
- Crate ayaka_runtime
source · Expand description
The runtime of Ayaka project.
+ayaka_runtime - Rust Crate ayaka_runtime
source · Expand description
The runtime of Ayaka project.
This runtime provides the game config, running context,
plugin system and settings system.
It can be treated as the “backend” of the game engine.
-Re-exports§
pub use anyhow;
pub use ayaka_plugin::Linker;
pub use ayaka_plugin::RawModule;
pub use futures_util::StreamExt;
pub use futures_util::TryStreamExt;
pub use log;
pub use vfs;
pub use ayaka_bindings_types::*;
pub use ayaka_primitive::*;
pub use locale::*;
Modules§
- The plugin utilities.
Macros§
- A macro allowing for compile-time construction of valid [
Locale
].
+Re-exports§
pub use anyhow;
pub use ayaka_plugin::Linker;
pub use ayaka_plugin::RawModule;
pub use futures_util::StreamExt;
pub use futures_util::TryStreamExt;
pub use log;
pub use vfs;
pub use ayaka_bindings_types::*;
pub use ayaka_primitive::*;
pub use locale::*;
Modules§
- The plugin utilities.
Macros§
- A macro allowing for compile-time construction of valid [
Locale
].
See [icu_locid::langid!
].
Structs§
- The game running context.
- Builder of
Context
. - Builder of
Context
. - The full Ayaka game.
It consists of global config and all paragraphs.
- The Ayaka config.
It should be deserialized from a YAML file.
- The paragraph in a paragraph config.
- The plugin config.
Enums§
- The open status when creating
Context
.
Functions§
- Get the version of Ayaka runtime.
diff --git a/doc/ayaka_runtime/macro.locale.html b/doc/ayaka_runtime/macro.locale.html
index 6bf49845..34f9c6d3 100644
--- a/doc/ayaka_runtime/macro.locale.html
+++ b/doc/ayaka_runtime/macro.locale.html
@@ -1,5 +1,4 @@
-
locale in ayaka_runtime - Rust
- Macro ayaka_runtime::locale
source · macro_rules! locale {
+locale in ayaka_runtime - Rust Macro ayaka_runtime::locale
source · macro_rules! locale {
($langid:literal) => { ... };
}
Expand description
A macro allowing for compile-time construction of valid [Locale
].
See [icu_locid::langid!
].
diff --git a/doc/ayaka_runtime/plugin/enum.LoadStatus.html b/doc/ayaka_runtime/plugin/enum.LoadStatus.html
index 41828934..a72a69bb 100644
--- a/doc/ayaka_runtime/plugin/enum.LoadStatus.html
+++ b/doc/ayaka_runtime/plugin/enum.LoadStatus.html
@@ -1,5 +1,4 @@
-LoadStatus in ayaka_runtime::plugin - Rust
- Enum ayaka_runtime::plugin::LoadStatus
source · pub enum LoadStatus {
+LoadStatus in ayaka_runtime::plugin - Rust Enum ayaka_runtime::plugin::LoadStatus
source · pub enum LoadStatus {
CreateEngine,
LoadPlugin(String, usize, usize),
}
§impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> MaybeSendSync for T
\ No newline at end of file
diff --git a/doc/ayaka_runtime/plugin/index.html b/doc/ayaka_runtime/plugin/index.html
index 6896722d..499eb5e8 100644
--- a/doc/ayaka_runtime/plugin/index.html
+++ b/doc/ayaka_runtime/plugin/index.html
@@ -1,3 +1,2 @@
-ayaka_runtime::plugin - Rust
- Module ayaka_runtime::plugin
source · Expand description
The plugin utilities.
+ayaka_runtime::plugin - Rust
\ No newline at end of file
diff --git a/doc/ayaka_runtime/plugin/struct.Module.html b/doc/ayaka_runtime/plugin/struct.Module.html
index 61c72ab8..5819f114 100644
--- a/doc/ayaka_runtime/plugin/struct.Module.html
+++ b/doc/ayaka_runtime/plugin/struct.Module.html
@@ -1,25 +1,24 @@
-Module in ayaka_runtime::plugin - Rust
- Struct ayaka_runtime::plugin::Module
source · pub struct Module<M: RawModule> { /* private fields */ }
Expand description
The plugin module with high-level interfaces.
-Implementations§
source§impl<M: RawModule> Module<M>
sourcepub fn plugin_type(&self) -> Result<PluginType>
Gets the [PluginType
].
+Module in ayaka_runtime::plugin - Rust Struct ayaka_runtime::plugin::Module
source · pub struct Module<M: RawModule> { /* private fields */ }
Expand description
The plugin module with high-level interfaces.
+Implementations§
source§impl<M: RawModule> Module<M>
sourcepub fn plugin_type(&self) -> Result<PluginType>
Gets the [PluginType
].
sourcepub fn process_action(
&self,
ctx: ActionProcessContextRef<'_>
-) -> Result<ActionProcessResult>
Processes [Action
] in action plugin.
+) -> Result<ActionProcessResult>Processes [Action
] in action plugin.
sourcepub fn dispatch_text(
&self,
name: &str,
args: &[String],
ctx: TextProcessContextRef<'_>
-) -> Result<TextProcessResult>
Calls a custom command in the text plugin.
+) -> Result<TextProcessResult>Calls a custom command in the text plugin.
sourcepub fn dispatch_line(
&self,
name: &str,
ctx: LineProcessContextRef<'_>
-) -> Result<LineProcessResult>
Calls a custom command in the line plugin.
+) -> Result<LineProcessResult>Calls a custom command in the line plugin.
Auto Trait Implementations§
§impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> MaybeSendSync for T
\ No newline at end of file
diff --git a/doc/ayaka_runtime/plugin/struct.Runtime.html b/doc/ayaka_runtime/plugin/struct.Runtime.html
index 54e0d260..980ae4c3 100644
--- a/doc/ayaka_runtime/plugin/struct.Runtime.html
+++ b/doc/ayaka_runtime/plugin/struct.Runtime.html
@@ -1,11 +1,10 @@
-Runtime in ayaka_runtime::plugin - Rust
- Struct ayaka_runtime::plugin::Runtime
source · pub struct Runtime<M: RawModule + Send + Sync + 'static> { /* private fields */ }
Expand description
The plugin runtime.
+Runtime in ayaka_runtime::plugin - Rust Struct ayaka_runtime::plugin::Runtime
source · pub struct Runtime<M: RawModule + Send + Sync + 'static> { /* private fields */ }
Expand description
The plugin runtime.
Implementations§
source§impl<M: RawModule + Send + Sync + 'static> Runtime<M>
sourcepub fn load<'a>(
dir: impl AsRef<str> + 'a,
root_path: &'a VfsPath,
names: &'a [impl AsRef<str>],
store: M::Linker
-) -> impl Future<Output = Result<Arc<Self>>> + Stream<Item = LoadStatus> + 'a
Load plugins from specific directory and plugin names.
+) -> impl Future<Output = Result<Arc<Self>>> + Stream<Item = LoadStatus> + 'aLoad plugins from specific directory and plugin names.
The actual load folder will be rel_to.join(dir)
.
If names
is empty, all WASM files will be loaded.
§impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> MaybeSendSync for T
\ No newline at end of file
diff --git a/doc/ayaka_runtime/struct.Context.html b/doc/ayaka_runtime/struct.Context.html
index f0107555..345ea612 100644
--- a/doc/ayaka_runtime/struct.Context.html
+++ b/doc/ayaka_runtime/struct.Context.html
@@ -1,12 +1,11 @@
-Context in ayaka_runtime - Rust
- Struct ayaka_runtime::Context
source · pub struct Context<M: RawModule + Send + Sync + 'static> { /* private fields */ }
Expand description
The game running context.
+Context in ayaka_runtime - Rust Struct ayaka_runtime::Context
source · pub struct Context<M: RawModule + Send + Sync + 'static> { /* private fields */ }
Expand description
The game running context.
Implementations§
source§impl<M: RawModule + Send + Sync + 'static> Context<M>
sourcepub fn set_start_context(&mut self)
Initialize the [RawContext
] at the start of the game.
sourcepub fn set_context(&mut self, ctx: RawContext)
Initialize the [RawContext
] with given record.
sourcepub fn get_action(&self, loc: &Locale, ctx: &RawContext) -> Result<Action>
Get the [Action
] from [Locale
] and [RawContext
].
+sourcepub fn get_action(&self, loc: &Locale, ctx: &RawContext) -> Result<Action>
Get the [Action
] from [Locale
] and [RawContext
].
sourcepub fn current_paragraph_title(&self, loc: &Locale) -> Option<&String>
Get current paragraph title.
Auto Trait Implementations§
§impl<M> Freeze for Context<M>
§impl<M> !RefUnwindSafe for Context<M>
§impl<M> Send for Context<M>
§impl<M> Sync for Context<M>
§impl<M> Unpin for Context<M>
§impl<M> !UnwindSafe for Context<M>
Blanket Implementations§
§impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> MaybeSendSync for T
\ No newline at end of file
diff --git a/doc/ayaka_runtime/struct.ContextBuilder.html b/doc/ayaka_runtime/struct.ContextBuilder.html
index bee0181a..48387cdf 100644
--- a/doc/ayaka_runtime/struct.ContextBuilder.html
+++ b/doc/ayaka_runtime/struct.ContextBuilder.html
@@ -1,17 +1,16 @@
-ContextBuilder in ayaka_runtime - Rust
- Struct ayaka_runtime::ContextBuilder
source · pub struct ContextBuilder<M: RawModule + Send + Sync + 'static> { /* private fields */ }
Expand description
Builder of Context
.
+ContextBuilder in ayaka_runtime - Rust Struct ayaka_runtime::ContextBuilder
source · pub struct ContextBuilder<M: RawModule + Send + Sync + 'static> { /* private fields */ }
Expand description
Builder of Context
.
Implementations§
source§impl<M: RawModule + Send + Sync + 'static> ContextBuilder<M>
sourcepub fn new(frontend: FrontendType, linker: M::Linker) -> Self
Create a new ContextBuilder
with frontend type and plugin runtime linker.
sourcepub fn with_paths(
self,
paths: &[impl AsRef<Path>]
-) -> Result<ContextBuilderWithPaths<'_, M>>
Open a context with config paths.
+) -> Result<ContextBuilderWithPaths<'_, M>>Open a context with config paths.
If the input paths
contains only one element, it may be a YAML or an FRFS file.
If the input paths
contains many element, they should all be FRFS files,
and the latter one will override the former one.
sourcepub fn with_vfs(
self,
paths: &[VfsPath]
-) -> Result<ContextBuilderWithPaths<'static, M>>
Open a context with config paths.
+) -> Result<ContextBuilderWithPaths<'static, M>>Open a context with config paths.
Auto Trait Implementations§
§impl<M> Freeze for ContextBuilder<M>where
<M as RawModule>::Linker: Freeze,
§impl<M> RefUnwindSafe for ContextBuilder<M>where
<M as RawModule>::Linker: RefUnwindSafe,
§impl<M> Send for ContextBuilder<M>where
@@ -27,8 +26,8 @@
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
§impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> MaybeSendSync for T
\ No newline at end of file
diff --git a/doc/ayaka_runtime/struct.ContextBuilderWithPaths.html b/doc/ayaka_runtime/struct.ContextBuilderWithPaths.html
index fc0c38fe..7fad6bf0 100644
--- a/doc/ayaka_runtime/struct.ContextBuilderWithPaths.html
+++ b/doc/ayaka_runtime/struct.ContextBuilderWithPaths.html
@@ -1,8 +1,7 @@
-ContextBuilderWithPaths in ayaka_runtime - Rust
- Struct ayaka_runtime::ContextBuilderWithPaths
source · pub struct ContextBuilderWithPaths<'a, M: RawModule + Send + Sync + 'static> { /* private fields */ }
Expand description
Builder of Context
.
+ContextBuilderWithPaths in ayaka_runtime - Rust Struct ayaka_runtime::ContextBuilderWithPaths
source · pub struct ContextBuilderWithPaths<'a, M: RawModule + Send + Sync + 'static> { /* private fields */ }
Expand description
Builder of Context
.
Implementations§
source§impl<'a, M: RawModule + Send + Sync + 'static> ContextBuilderWithPaths<'a, M>
Auto Trait Implementations§
§impl<'a, M> Freeze for ContextBuilderWithPaths<'a, M>where
<M as RawModule>::Linker: Freeze,
§impl<'a, M> !RefUnwindSafe for ContextBuilderWithPaths<'a, M>
§impl<'a, M> Send for ContextBuilderWithPaths<'a, M>where
<M as RawModule>::Linker: Send,
§impl<'a, M> Sync for ContextBuilderWithPaths<'a, M>where
@@ -16,8 +15,8 @@
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
§impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> MaybeSendSync for T
\ No newline at end of file
diff --git a/doc/ayaka_runtime/struct.Game.html b/doc/ayaka_runtime/struct.Game.html
index 9eba23de..eaea1979 100644
--- a/doc/ayaka_runtime/struct.Game.html
+++ b/doc/ayaka_runtime/struct.Game.html
@@ -1,5 +1,4 @@
-Game in ayaka_runtime - Rust
- Struct ayaka_runtime::Game
source · pub struct Game {
+Game in ayaka_runtime - Rust
§impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> MaybeSendSync for T
\ No newline at end of file
diff --git a/doc/ayaka_runtime/struct.GameConfig.html b/doc/ayaka_runtime/struct.GameConfig.html
index 5223d475..82e86d08 100644
--- a/doc/ayaka_runtime/struct.GameConfig.html
+++ b/doc/ayaka_runtime/struct.GameConfig.html
@@ -1,5 +1,4 @@
-GameConfig in ayaka_runtime - Rust
- Struct ayaka_runtime::GameConfig
source · pub struct GameConfig {
+GameConfig in ayaka_runtime - Rust Struct ayaka_runtime::GameConfig
source · pub struct GameConfig {
pub title: String,
pub author: String,
pub paras: String,
@@ -20,8 +19,8 @@
§base_lang: Locale
The base language.
If the runtime fails to choose a best match,
it fallbacks to this one.
-Trait Implementations§
source§impl Debug for GameConfig
source§impl Default for GameConfig
source§fn default() -> GameConfig
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for GameConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl Freeze for GameConfig
§impl RefUnwindSafe for GameConfig
§impl Send for GameConfig
§impl Sync for GameConfig
§impl Unpin for GameConfig
§impl UnwindSafe for GameConfig
Blanket Implementations§
source§impl<T> Any for Twhere
+Trait Implementations§
source§impl Debug for GameConfig
source§impl Default for GameConfig
source§fn default() -> GameConfig
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for GameConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl Freeze for GameConfig
§impl RefUnwindSafe for GameConfig
§impl Send for GameConfig
§impl Sync for GameConfig
§impl Unpin for GameConfig
§impl UnwindSafe for GameConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
§impl<T> ErasedDestructor for Twhere
+ U: Into<T>,
§type Error = Infallible
The type returned in the event of a conversion error.source§impl<T> DeserializeOwned for Twhere
+ T: for<'de> Deserialize<'de>,
§impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> MaybeSendSync for T
\ No newline at end of file
diff --git a/doc/ayaka_runtime/struct.Paragraph.html b/doc/ayaka_runtime/struct.Paragraph.html
index 16362014..4e626936 100644
--- a/doc/ayaka_runtime/struct.Paragraph.html
+++ b/doc/ayaka_runtime/struct.Paragraph.html
@@ -1,5 +1,4 @@
-Paragraph in ayaka_runtime - Rust
- Struct ayaka_runtime::Paragraph
source · pub struct Paragraph {
+Paragraph in ayaka_runtime - Rust Struct ayaka_runtime::Paragraph
source · pub struct Paragraph {
pub tag: String,
pub title: Option<String>,
pub texts: Vec<Line>,
@@ -13,8 +12,8 @@
They will be parsed into [ayaka_primitive::Text
] later.
§next: Option<Text>
The next paragraph.
If None
, the game meets the end.
-Trait Implementations§
source§impl<'de> Deserialize<'de> for Paragraph
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl Freeze for Paragraph
§impl RefUnwindSafe for Paragraph
§impl Send for Paragraph
§impl Sync for Paragraph
§impl Unpin for Paragraph
§impl UnwindSafe for Paragraph
Blanket Implementations§
source§impl<T> Any for Twhere
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Paragraph
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl Freeze for Paragraph
§impl RefUnwindSafe for Paragraph
§impl Send for Paragraph
§impl Sync for Paragraph
§impl Unpin for Paragraph
§impl UnwindSafe for Paragraph
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
§impl<T> ErasedDestructor for Twhere
+ U: Into<T>,
§type Error = Infallible
The type returned in the event of a conversion error.source§impl<T> DeserializeOwned for Twhere
+ T: for<'de> Deserialize<'de>,
§impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> MaybeSendSync for T
\ No newline at end of file
diff --git a/doc/ayaka_runtime/struct.PluginConfig.html b/doc/ayaka_runtime/struct.PluginConfig.html
index a15d4027..980586ba 100644
--- a/doc/ayaka_runtime/struct.PluginConfig.html
+++ b/doc/ayaka_runtime/struct.PluginConfig.html
@@ -1,12 +1,11 @@
-PluginConfig in ayaka_runtime - Rust
- Struct ayaka_runtime::PluginConfig
source · pub struct PluginConfig {
+PluginConfig in ayaka_runtime - Rust Struct ayaka_runtime::PluginConfig
source · pub struct PluginConfig {
pub dir: String,
pub modules: Vec<String>,
}
Expand description
The plugin config.
Fields§
§dir: String
The directory of the plugins.
§modules: Vec<String>
The names of the plugins, without extension.
-Trait Implementations§
source§impl Debug for PluginConfig
source§impl Default for PluginConfig
source§fn default() -> PluginConfig
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for PluginConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl Freeze for PluginConfig
§impl RefUnwindSafe for PluginConfig
§impl Send for PluginConfig
§impl Sync for PluginConfig
§impl Unpin for PluginConfig
§impl UnwindSafe for PluginConfig
Blanket Implementations§
source§impl<T> Any for Twhere
+Trait Implementations§
source§impl Debug for PluginConfig
source§impl Default for PluginConfig
source§fn default() -> PluginConfig
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for PluginConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl Freeze for PluginConfig
§impl RefUnwindSafe for PluginConfig
§impl Send for PluginConfig
§impl Sync for PluginConfig
§impl Unpin for PluginConfig
§impl UnwindSafe for PluginConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
§impl<T> ErasedDestructor for Twhere
+ U: Into<T>,
§type Error = Infallible
The type returned in the event of a conversion error.source§impl<T> DeserializeOwned for Twhere
+ T: for<'de> Deserialize<'de>,
§impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> MaybeSendSync for T
\ No newline at end of file
diff --git a/doc/ayaka_script/all.html b/doc/ayaka_script/all.html
index 5980e3e1..403fe51a 100644
--- a/doc/ayaka_script/all.html
+++ b/doc/ayaka_script/all.html
@@ -1,2 +1 @@
-List of all items in this crate
- List of all items
Structs
Enums
\ No newline at end of file
+List of all items in this crate List of all items
Structs
Enums
\ No newline at end of file
diff --git a/doc/ayaka_script/enum.BinaryOp.html b/doc/ayaka_script/enum.BinaryOp.html
index c66e08e6..df511de9 100644
--- a/doc/ayaka_script/enum.BinaryOp.html
+++ b/doc/ayaka_script/enum.BinaryOp.html
@@ -1,5 +1,4 @@
-BinaryOp in ayaka_script - Rust
- Enum ayaka_script::BinaryOp
source · pub enum BinaryOp {
+BinaryOp in ayaka_script - Rust Enum ayaka_script::BinaryOp
source · pub enum BinaryOp {
Val(ValBinaryOp),
Logic(LogicBinaryOp),
Assign,
@@ -9,11 +8,11 @@
§Logic(LogicBinaryOp)
Logical operations.
§Assign
Assignment.
§Inplace(ValBinaryOp)
Inplace value operations.
-
Trait Implementations§
source§impl<'de> Deserialize<'de> for BinaryOp
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for BinaryOp
Trait Implementations§
source§impl<'de> Deserialize<'de> for BinaryOp
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for BinaryOp
source§impl Copy for BinaryOp
source§impl Eq for BinaryOp
source§impl StructuralPartialEq for BinaryOp
Auto Trait Implementations§
§impl Freeze for BinaryOp
§impl RefUnwindSafe for BinaryOp
§impl Send for BinaryOp
§impl Sync for BinaryOp
§impl Unpin for BinaryOp
§impl UnwindSafe for BinaryOp
Blanket Implementations§
source§impl Copy for BinaryOp
source§impl Eq for BinaryOp
source§impl StructuralPartialEq for BinaryOp
Auto Trait Implementations§
§impl Freeze for BinaryOp
§impl RefUnwindSafe for BinaryOp
§impl Send for BinaryOp
§impl Sync for BinaryOp
§impl Unpin for BinaryOp
§impl UnwindSafe for BinaryOp
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
\ No newline at end of file
+ U: Into<T>,
§type Error = Infallible
The type returned in the event of a conversion error.source§impl<T> DeserializeOwned for Twhere
+ T: for<'de> Deserialize<'de>,
\ No newline at end of file
diff --git a/doc/ayaka_script/enum.Expr.html b/doc/ayaka_script/enum.Expr.html
index 440eb3e9..cc57589d 100644
--- a/doc/ayaka_script/enum.Expr.html
+++ b/doc/ayaka_script/enum.Expr.html
@@ -1,22 +1,21 @@
-Expr in ayaka_script - Rust
- Enum ayaka_script::Expr
source · pub enum Expr {
+Expr in ayaka_script - Rust Enum ayaka_script::Expr
source · pub enum Expr {
Ref(Ref),
- Const(RawValue),
+ Const(RawValue),
Unary(UnaryOp, Box<Expr>),
Binary(Box<Expr>, BinaryOp, Box<Expr>),
Call(String, String, Vec<Expr>),
}
Expand description
An expression.
Two expressions should be splited with ;
.
Variants§
§Ref(Ref)
A reference to a variable.
-§Const(RawValue)
A const value.
+§Const(RawValue)
A const value.
§Unary(UnaryOp, Box<Expr>)
A unary operation.
§Binary(Box<Expr>, BinaryOp, Box<Expr>)
A binary operation.
§Call(String, String, Vec<Expr>)
A call to a function.
-Trait Implementations§
source§impl<'de> Deserialize<'de> for Expr
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for Expr
Trait Implementations§
source§impl<'de> Deserialize<'de> for Expr
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for Expr
source§impl Eq for Expr
source§impl StructuralPartialEq for Expr
Auto Trait Implementations§
§impl Freeze for Expr
§impl RefUnwindSafe for Expr
§impl Send for Expr
§impl Sync for Expr
§impl Unpin for Expr
§impl UnwindSafe for Expr
Blanket Implementations§
source§impl Eq for Expr
source§impl StructuralPartialEq for Expr
Auto Trait Implementations§
§impl Freeze for Expr
§impl RefUnwindSafe for Expr
§impl Send for Expr
§impl Sync for Expr
§impl Unpin for Expr
§impl UnwindSafe for Expr
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
\ No newline at end of file
+ U: Into<T>,
§type Error = Infallible
The type returned in the event of a conversion error.source§impl<T> DeserializeOwned for Twhere
+ T: for<'de> Deserialize<'de>,
\ No newline at end of file
diff --git a/doc/ayaka_script/enum.LogicBinaryOp.html b/doc/ayaka_script/enum.LogicBinaryOp.html
index a5f2f7b1..d3283b9f 100644
--- a/doc/ayaka_script/enum.LogicBinaryOp.html
+++ b/doc/ayaka_script/enum.LogicBinaryOp.html
@@ -1,5 +1,4 @@
-LogicBinaryOp in ayaka_script - Rust
- Enum ayaka_script::LogicBinaryOp
source · pub enum LogicBinaryOp {
+LogicBinaryOp in ayaka_script - Rust Enum ayaka_script::LogicBinaryOp
source · pub enum LogicBinaryOp {
And,
Or,
Eq,
@@ -17,11 +16,11 @@
§Le
<=
§Gt
>
§Ge
>=
-
Trait Implementations§
source§impl Clone for LogicBinaryOp
source§fn clone(&self) -> LogicBinaryOp
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LogicBinaryOp
source§impl<'de> Deserialize<'de> for LogicBinaryOp
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for LogicBinaryOp
source§fn eq(&self, other: &LogicBinaryOp) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for LogicBinaryOp
source§fn clone(&self) -> LogicBinaryOp
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LogicBinaryOp
source§impl<'de> Deserialize<'de> for LogicBinaryOp
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for LogicBinaryOp
source§fn eq(&self, other: &LogicBinaryOp) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LogicBinaryOp
source§impl Copy for LogicBinaryOp
source§impl Eq for LogicBinaryOp
source§impl StructuralPartialEq for LogicBinaryOp
Auto Trait Implementations§
§impl Freeze for LogicBinaryOp
§impl RefUnwindSafe for LogicBinaryOp
§impl Send for LogicBinaryOp
§impl Sync for LogicBinaryOp
§impl Unpin for LogicBinaryOp
§impl UnwindSafe for LogicBinaryOp
Blanket Implementations§
source§impl Serialize for LogicBinaryOp
source§impl Copy for LogicBinaryOp
source§impl Eq for LogicBinaryOp
source§impl StructuralPartialEq for LogicBinaryOp
Auto Trait Implementations§
§impl Freeze for LogicBinaryOp
§impl RefUnwindSafe for LogicBinaryOp
§impl Send for LogicBinaryOp
§impl Sync for LogicBinaryOp
§impl Unpin for LogicBinaryOp
§impl UnwindSafe for LogicBinaryOp
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
\ No newline at end of file
+ U: Into<T>,§type Error = Infallible
The type returned in the event of a conversion error.source§impl<T> DeserializeOwned for Twhere
+ T: for<'de> Deserialize<'de>,
\ No newline at end of file
diff --git a/doc/ayaka_script/enum.Ref.html b/doc/ayaka_script/enum.Ref.html
index 409596bc..5fd02c97 100644
--- a/doc/ayaka_script/enum.Ref.html
+++ b/doc/ayaka_script/enum.Ref.html
@@ -1,5 +1,4 @@
-Ref in ayaka_script - Rust
- Enum ayaka_script::Ref
source · pub enum Ref {
+Ref in ayaka_script - Rust Enum ayaka_script::Ref
source · pub enum Ref {
Var(String),
Ctx(String),
}
Trait Implementations§
source§impl<'de> Deserialize<'de> for Ref
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for Ref
Trait Implementations§
source§impl<'de> Deserialize<'de> for Ref
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for Ref
source§impl Eq for Ref
source§impl StructuralPartialEq for Ref
Auto Trait Implementations§
§impl Freeze for Ref
§impl RefUnwindSafe for Ref
§impl Send for Ref
§impl Sync for Ref
§impl Unpin for Ref
§impl UnwindSafe for Ref
Blanket Implementations§
source§impl Eq for Ref
source§impl StructuralPartialEq for Ref
Auto Trait Implementations§
§impl Freeze for Ref
§impl RefUnwindSafe for Ref
§impl Send for Ref
§impl Sync for Ref
§impl Unpin for Ref
§impl UnwindSafe for Ref
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
\ No newline at end of file
+ U: Into<T>,source§impl<T> DeserializeOwned for Twhere
+ T: for<'de> Deserialize<'de>,
\ No newline at end of file
diff --git a/doc/ayaka_script/enum.UnaryOp.html b/doc/ayaka_script/enum.UnaryOp.html
index dbdd57c9..31f1a471 100644
--- a/doc/ayaka_script/enum.UnaryOp.html
+++ b/doc/ayaka_script/enum.UnaryOp.html
@@ -1,5 +1,4 @@
-UnaryOp in ayaka_script - Rust
- Enum ayaka_script::UnaryOp
source · pub enum UnaryOp {
+UnaryOp in ayaka_script - Rust Enum ayaka_script::UnaryOp
source · pub enum UnaryOp {
Positive,
Negative,
Not,
@@ -7,11 +6,11 @@
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for UnaryOp
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for UnaryOp
Trait Implementations§
source§impl<'de> Deserialize<'de> for UnaryOp
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for UnaryOp
source§impl Copy for UnaryOp
source§impl Eq for UnaryOp
source§impl StructuralPartialEq for UnaryOp
Auto Trait Implementations§
§impl Freeze for UnaryOp
§impl RefUnwindSafe for UnaryOp
§impl Send for UnaryOp
§impl Sync for UnaryOp
§impl Unpin for UnaryOp
§impl UnwindSafe for UnaryOp
Blanket Implementations§
source§impl Copy for UnaryOp
source§impl Eq for UnaryOp
source§impl StructuralPartialEq for UnaryOp
Auto Trait Implementations§
§impl Freeze for UnaryOp
§impl RefUnwindSafe for UnaryOp
§impl Send for UnaryOp
§impl Sync for UnaryOp
§impl Unpin for UnaryOp
§impl UnwindSafe for UnaryOp
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
\ No newline at end of file
+ U: Into<T>,§type Error = Infallible
The type returned in the event of a conversion error.source§impl<T> DeserializeOwned for Twhere
+ T: for<'de> Deserialize<'de>,
\ No newline at end of file
diff --git a/doc/ayaka_script/enum.ValBinaryOp.html b/doc/ayaka_script/enum.ValBinaryOp.html
index 3695f501..baaca4b4 100644
--- a/doc/ayaka_script/enum.ValBinaryOp.html
+++ b/doc/ayaka_script/enum.ValBinaryOp.html
@@ -1,5 +1,4 @@
-ValBinaryOp in ayaka_script - Rust
- Enum ayaka_script::ValBinaryOp
source · pub enum ValBinaryOp {
+ValBinaryOp in ayaka_script - Rust Enum ayaka_script::ValBinaryOp
source · pub enum ValBinaryOp {
Add,
Minus,
Mul,
@@ -17,11 +16,11 @@
§And
&
§Or
|
§Xor
^
-
Trait Implementations§
source§impl Clone for ValBinaryOp
source§fn clone(&self) -> ValBinaryOp
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ValBinaryOp
source§impl<'de> Deserialize<'de> for ValBinaryOp
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for ValBinaryOp
source§fn eq(&self, other: &ValBinaryOp) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for ValBinaryOp
source§fn clone(&self) -> ValBinaryOp
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ValBinaryOp
source§impl<'de> Deserialize<'de> for ValBinaryOp
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for ValBinaryOp
source§fn eq(&self, other: &ValBinaryOp) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ValBinaryOp
source§impl Copy for ValBinaryOp
source§impl Eq for ValBinaryOp
source§impl StructuralPartialEq for ValBinaryOp
Auto Trait Implementations§
§impl Freeze for ValBinaryOp
§impl RefUnwindSafe for ValBinaryOp
§impl Send for ValBinaryOp
§impl Sync for ValBinaryOp
§impl Unpin for ValBinaryOp
§impl UnwindSafe for ValBinaryOp
Blanket Implementations§
source§impl Serialize for ValBinaryOp
source§impl Copy for ValBinaryOp
source§impl Eq for ValBinaryOp
source§impl StructuralPartialEq for ValBinaryOp
Auto Trait Implementations§
§impl Freeze for ValBinaryOp
§impl RefUnwindSafe for ValBinaryOp
§impl Send for ValBinaryOp
§impl Sync for ValBinaryOp
§impl Unpin for ValBinaryOp
§impl UnwindSafe for ValBinaryOp
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
\ No newline at end of file
+ U: Into<T>,§type Error = Infallible
The type returned in the event of a conversion error.source§impl<T> DeserializeOwned for Twhere
+ T: for<'de> Deserialize<'de>,
\ No newline at end of file
diff --git a/doc/ayaka_script/index.html b/doc/ayaka_script/index.html
index 7740b10d..39e80266 100644
--- a/doc/ayaka_script/index.html
+++ b/doc/ayaka_script/index.html
@@ -1,4 +1,2 @@
-ayaka_script - Rust
- Crate ayaka_script
source · Expand description
The script parsers.
-Re-exports§
pub use ayaka_primitive::RawValue;
pub use ayaka_primitive::ValueType;
Structs§
- A full script, a collection of expressions.
Enums§
- Binary operations.
- An expression.
- Logical operations.
- Reference of a variable.
- Unary operations.
- Value binary operations.
\ No newline at end of file
+ayaka_script - Rust Crate ayaka_script
source · Expand description
The script parsers.
+Re-exports§
Structs§
- A full script, a collection of expressions.
Enums§
- Binary operations.
- An expression.
- Logical operations.
- Reference of a variable.
- Unary operations.
- Value binary operations.
\ No newline at end of file
diff --git a/doc/ayaka_script/struct.ConstParser.html b/doc/ayaka_script/struct.ConstParser.html
index 85882ab4..42c49b67 100644
--- a/doc/ayaka_script/struct.ConstParser.html
+++ b/doc/ayaka_script/struct.ConstParser.html
@@ -1,8 +1,7 @@
-ConstParser in ayaka_script - Rust
- Struct ayaka_script::ConstParser
source · pub struct ConstParser { /* private fields */ }
Implementations§
source§impl ConstParser
sourcepub fn new() -> ConstParser
sourcepub fn parse<'input>(
+ConstParser in ayaka_script - Rust Struct ayaka_script::ConstParser
source · pub struct ConstParser { /* private fields */ }
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl Freeze for ConstParser
§impl RefUnwindSafe for ConstParser
§impl Send for ConstParser
§impl Sync for ConstParser
§impl Unpin for ConstParser
§impl UnwindSafe for ConstParser
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl Freeze for ConstParser
§impl RefUnwindSafe for ConstParser
§impl Send for ConstParser
§impl Sync for ConstParser
§impl Unpin for ConstParser
§impl UnwindSafe for ConstParser
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
\ No newline at end of file
+ U: Into<T>,
\ No newline at end of file
diff --git a/doc/ayaka_script/struct.ExprParser.html b/doc/ayaka_script/struct.ExprParser.html
index f4a07d76..0de38da8 100644
--- a/doc/ayaka_script/struct.ExprParser.html
+++ b/doc/ayaka_script/struct.ExprParser.html
@@ -1,8 +1,7 @@
-ExprParser in ayaka_script - Rust
- Struct ayaka_script::ExprParser
source · pub struct ExprParser { /* private fields */ }
Implementations§
source§impl ExprParser
sourcepub fn new() -> ExprParser
sourcepub fn parse<'input>(
+ExprParser in ayaka_script - Rust Struct ayaka_script::ExprParser
source · pub struct ExprParser { /* private fields */ }
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl Freeze for ExprParser
§impl RefUnwindSafe for ExprParser
§impl Send for ExprParser
§impl Sync for ExprParser
§impl Unpin for ExprParser
§impl UnwindSafe for ExprParser
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl Freeze for ExprParser
§impl RefUnwindSafe for ExprParser
§impl Send for ExprParser
§impl Sync for ExprParser
§impl Unpin for ExprParser
§impl UnwindSafe for ExprParser
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
\ No newline at end of file
+ U: Into<T>,
\ No newline at end of file
diff --git a/doc/ayaka_script/struct.Program.html b/doc/ayaka_script/struct.Program.html
index 801df698..d492a181 100644
--- a/doc/ayaka_script/struct.Program.html
+++ b/doc/ayaka_script/struct.Program.html
@@ -1,11 +1,10 @@
-Program in ayaka_script - Rust
- Struct ayaka_script::Program
source · pub struct Program(pub Vec<Expr>);
Expand description
A full script, a collection of expressions.
+Program in ayaka_script - Rust Struct ayaka_script::Program
source · pub struct Program(pub Vec<Expr>);
Expand description
A full script, a collection of expressions.
The last expression is the final value of the script.
-Tuple Fields§
§0: Vec<Expr>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Program
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for Program
source§fn eq(&self, other: &Program) -> bool
This method tests for self
and other
values to be equal, and is used
+Tuple Fields§
§0: Vec<Expr>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Program
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for Program
source§impl Eq for Program
source§impl StructuralPartialEq for Program
Auto Trait Implementations§
§impl Freeze for Program
§impl RefUnwindSafe for Program
§impl Send for Program
§impl Sync for Program
§impl Unpin for Program
§impl UnwindSafe for Program
Blanket Implementations§
source§impl Eq for Program
source§impl StructuralPartialEq for Program
Auto Trait Implementations§
§impl Freeze for Program
§impl RefUnwindSafe for Program
§impl Send for Program
§impl Sync for Program
§impl Unpin for Program
§impl UnwindSafe for Program
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
\ No newline at end of file
+ U: Into<T>,§type Error = Infallible
The type returned in the event of a conversion error.source§impl<T> DeserializeOwned for Twhere
+ T: for<'de> Deserialize<'de>,
\ No newline at end of file
diff --git a/doc/ayaka_script/struct.ProgramParser.html b/doc/ayaka_script/struct.ProgramParser.html
index 80cba750..3b3cf5a9 100644
--- a/doc/ayaka_script/struct.ProgramParser.html
+++ b/doc/ayaka_script/struct.ProgramParser.html
@@ -1,8 +1,7 @@
-ProgramParser in ayaka_script - Rust
- Struct ayaka_script::ProgramParser
source · pub struct ProgramParser { /* private fields */ }
Implementations§
source§impl ProgramParser
sourcepub fn new() -> ProgramParser
sourcepub fn parse<'input>(
+ProgramParser in ayaka_script - Rust Struct ayaka_script::ProgramParser
source · pub struct ProgramParser { /* private fields */ }
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl Freeze for ProgramParser
§impl RefUnwindSafe for ProgramParser
§impl Send for ProgramParser
§impl Sync for ProgramParser
§impl Unpin for ProgramParser
§impl UnwindSafe for ProgramParser
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl Freeze for ProgramParser
§impl RefUnwindSafe for ProgramParser
§impl Send for ProgramParser
§impl Sync for ProgramParser
§impl Unpin for ProgramParser
§impl UnwindSafe for ProgramParser
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
\ No newline at end of file
+ U: Into<T>,
\ No newline at end of file
diff --git a/doc/ayaka_script/struct.RefParser.html b/doc/ayaka_script/struct.RefParser.html
index e4e9c143..e52def12 100644
--- a/doc/ayaka_script/struct.RefParser.html
+++ b/doc/ayaka_script/struct.RefParser.html
@@ -1,8 +1,7 @@
-RefParser in ayaka_script - Rust
- Struct ayaka_script::RefParser
source · pub struct RefParser { /* private fields */ }
Implementations§
source§impl RefParser
sourcepub fn new() -> RefParser
sourcepub fn parse<'input>(
+RefParser in ayaka_script - Rust Struct ayaka_script::RefParser
source · pub struct RefParser { /* private fields */ }
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl Freeze for RefParser
§impl RefUnwindSafe for RefParser
§impl Send for RefParser
§impl Sync for RefParser
§impl Unpin for RefParser
§impl UnwindSafe for RefParser
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl Freeze for RefParser
§impl RefUnwindSafe for RefParser
§impl Send for RefParser
§impl Sync for RefParser
§impl Unpin for RefParser
§impl UnwindSafe for RefParser
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
\ No newline at end of file
+ U: Into<T>,
\ No newline at end of file
diff --git a/doc/help.html b/doc/help.html
index 86d667bf..8b70e582 100644
--- a/doc/help.html
+++ b/doc/help.html
@@ -1,2 +1 @@
-Help
- Rustdoc help
Back
\ No newline at end of file
+Help Rustdoc help
Back
\ No newline at end of file
diff --git a/doc/search-index.js b/doc/search-index.js
index 81cfbd80..c0d2c793 100644
--- a/doc/search-index.js
+++ b/doc/search-index.js
@@ -1,15 +1,15 @@
var searchIndex = new Map(JSON.parse('[\
-["ayaka_bindings",{"doc":"","t":"EEXCXEEFNNNNNNNNNNNNNNNNNN","n":["RawValue","ValueType","export","fs","import","log","vfs","HostFS","append_file","borrow","borrow_mut","create_dir","create_file","default","exists","fmt","from","into","metadata","open_file","read_dir","remove_dir","remove_file","try_from","try_into","type_id"],"q":[[0,"ayaka_bindings"],[7,"ayaka_bindings::fs"],[26,"std::io"],[27,"alloc::boxed"],[28,"vfs::error"],[29,"core::fmt"],[30,"core::fmt"],[31,"vfs::path"],[32,"core::result"],[33,"core::any"]],"d":["","","","","","","","","","","","","","","","","Returns the argument unchanged.","Calls U::from(self)
.","","","","","","","",""],"i":[0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],"f":"````````{{bd}{{j{{h{f}}}}}}{ce{}{}}0{{bd}{{j{l}}}}2{{}b}{{bd}{{j{n}}}}{{bA`}Ab}{cc{}}5{{bd}{{j{Ad}}}}{{bd}{{j{{h{Af}}}}}}{{bd}{{j{{h{Ah}}}}}}77{c{{Aj{e}}}{}{}}0{cAl{}}","c":[],"p":[[5,"HostFS",7],[1,"str"],[10,"Write",26],[5,"Box",27],[8,"VfsResult",28],[1,"unit"],[1,"bool"],[5,"Formatter",29],[8,"Result",29],[5,"VfsMetadata",30],[10,"SeekAndRead",30],[10,"Iterator",31],[6,"Result",32],[5,"TypeId",33]],"b":[]}],\
-["ayaka_bindings_impl",{"doc":"","t":"XX","n":["export","import"],"q":[[0,"ayaka_bindings_impl"]],"d":["",""],"i":[0,0],"f":"``","c":[],"p":[],"b":[]}],\
-["ayaka_bindings_types",{"doc":"The types used in both runtime and plugins.","t":"GFFGFPPPPPPPPFGGGFFPPFFFFFPFPPPFFINOOONONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONOOOONNNNNNNNNNNNNNNNNNNNONOOOOOONNNNNNNNNNNNNNNNNNNNNOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOO","n":["Action","ActionProcessContext","ActionProcessResult","ActionSubText","ActionText","Block","Chars","Current","Custom","Dir","Empty","End","File","FileMetadata","FileSeekFrom","FileType","FrontendType","GameProcessContext","GameProcessResult","Html","Latex","LineProcessContext","LineProcessResult","PluginType","PluginTypeBuilder","RawContext","Start","Switch","Switches","Text","Text","TextProcessContext","TextProcessResult","VarMap","action","action","action","action","as_str","author","block","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","builder","ch_key","character","chars","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","ctx","ctx","cur_act","cur_base_para","cur_para","default","default","default","default","default","default","default","default","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","enabled","eq","eq","eq","eq","eq","eq","file_type","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","frontend","frontend","frontend","game","game","game_props","game_props","game_props","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into_string","len","line","line","locals","locals","props","props","props","push_back_block","push_back_chars","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","text","text","text","text","text","title","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vars","vars"],"q":[[0,"ayaka_bindings_types"],[313,"alloc::string"],[314,"core::convert"],[315,"core::result"],[316,"serde::de"],[317,"core::fmt"],[318,"core::fmt"],[319,"vfs::path"],[320,"core::iter::traits::collect"],[321,"alloc::borrow"],[322,"serde::ser"],[323,"core::any"]],"d":["The full action information in one line of config. It …","The argument to action plugin.","The result of action plugins. See examples at …","The unit of one line in an action.","The text
is a VecDeque<ActionSubText>
. The ActionSubText
…","Characters printed together. Usually they are HTML tags or …","Characters printed one by one. Usually they are meaningful …","Seek from current position.","A custom action.","A directory.","An empty action usually means an exec
or custom action.","Seek from end.","A file.","File metadata.","A SeekFrom
type which implements serde
.","Type of a file.","The type of current frontend.","The argument to game plugin.","The result of game plugins. See examples at …","The frontend renders HTML.","The frontend renders LaTeX.","The argument to line plugin.","The result of commands in line plugins. See examples at …","The bit flags to describe plugin type.","The builder of PluginType
.","The serializable context.","Seek from start.","One switch in the switches of an Action
.","A switch action, display switches and let player to choose.","The frontend only accepts raw texts.","A text action, display some texts.","The argument to text plugin.","The result of commands in text plugins. See examples at …","A map from variable name to RawValue
.","An action plugin.","The action plugin. This plugin processes the action after …","The current action.","The processed action text.","Gets a reference of str
.","The author of the game.","Creates ActionSubText::Block
.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Build a PluginType
.","Creates a PluginTypeBuilder
instance to build a PluginType
.","The key of current character.","The current character.","Creates ActionSubText::Chars
.","","","","","","","","","","","","","","","","","","","The current context.","The current context.","Current text index.","Current base paragraph tag.","Current paragraph tag.","","","","","","","","","","","","","","","","","","","","","","","","","","","Whether the switch is enabled.","","","","","","","Type of file.","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","","The frontend type.","The frontend type.","The frontend type.","A game plugin.","The game plugin. This plugin processes the game properties …","The global properties of the game profile.","The global properties of the game profile.","The global properties of the game profile.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Gets the inner String
.","Length of the file.","A line plugins, which provides custom line types.","The line plugin. The custom line types are dealt with this …","The updated variables.","Current local variables.","The global properties of the game.","The updated properties.","The full properties of the custom command.","Push the string as ActionSubText::Block
to the back. If …","Push the string as ActionSubText::Chars
to the back. If …","","","","","","","","","","","","","","","","","","","A text plugin, which provides commands.","The text plugin. The custom text commands are dealt with …","The lines to append.","The full texts.","The switch text.","The title of the game.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","The temp variables.","The temp variables."],"i":[0,0,0,0,0,2,2,13,10,12,10,13,12,0,0,0,0,0,0,7,7,0,0,0,0,0,13,0,10,7,10,0,0,0,1,6,20,15,2,22,2,1,6,7,20,15,21,16,22,23,24,17,2,8,9,10,11,12,25,13,1,6,7,20,15,21,16,22,23,24,17,2,8,9,10,11,12,25,13,1,6,9,9,2,6,7,2,8,9,10,11,12,13,6,7,2,8,9,10,11,12,13,20,24,8,8,8,6,15,16,17,8,9,10,11,6,7,20,15,21,16,22,23,24,17,2,8,9,10,11,12,25,13,11,2,9,10,11,12,13,25,6,7,20,15,21,16,22,23,24,17,2,8,9,9,10,11,12,25,13,1,6,7,20,15,21,16,22,23,24,17,2,8,9,10,11,12,12,25,25,13,13,20,21,24,1,6,20,21,24,1,6,7,20,15,21,16,22,23,24,17,2,8,9,10,11,12,25,13,2,25,1,6,17,8,22,23,24,9,9,6,7,20,15,21,16,22,23,24,17,2,8,9,10,11,12,25,13,1,6,16,9,11,22,6,7,2,8,9,10,11,12,13,9,1,6,7,20,15,21,16,22,23,24,17,2,8,9,10,11,12,25,13,1,6,7,20,15,21,16,22,23,24,17,2,8,9,10,11,12,25,13,1,6,7,20,15,21,16,22,23,24,17,2,8,9,10,11,12,25,13,17,9],"f":"``````````````````````````````````{bb}```{df}`{cd{{j{h}}}}{ce{}{}}0000000000000000000000000000000000000{bl}{{}b}``3{ll}{nn}{dd}{A`A`}{AbAb}{AdAd}{AfAf}{AhAh}{AjAj}{{ce}Al{}{}}00000000`````{{}l}{{}An}{{}B`}{{}Bb}{{}A`}{{}Ab}{{}Ad}{{}Af}{c{{Bd{l}}}Bf}{c{{Bd{n}}}Bf}{c{{Bd{Bh}}}Bf}{c{{Bd{An}}}Bf}{c{{Bd{Bj}}}Bf}{c{{Bd{B`}}}Bf}{c{{Bd{Bl}}}Bf}{c{{Bd{Bn}}}Bf}{c{{Bd{C`}}}Bf}{c{{Bd{Bb}}}Bf}{c{{Bd{d}}}Bf}{c{{Bd{A`}}}Bf}{c{{Bd{Ab}}}Bf}{c{{Bd{Ad}}}Bf}{c{{Bd{Af}}}Bf}{c{{Bd{Ah}}}Bf}{c{{Bd{Cb}}}Bf}{c{{Bd{Aj}}}Bf}`{{dd}Cd}{{AbAb}Cd}{{AdAd}Cd}{{AfAf}Cd}{{AhAh}Cd}{{AjAj}Cd}`{{lCf}Ch}{{nCf}Ch}{{BhCf}Ch}{{AnCf}Ch}{{BjCf}Ch}{{B`Cf}Ch}{{BlCf}Ch}{{BnCf}Ch}{{C`Cf}Ch}{{BbCf}Ch}{{dCf}Ch}{{A`Cf}Ch}{{AbCf}Ch}0{{AdCf}Ch}{{AfCf}Ch}{{AhCf}Ch}{{CbCf}Ch}{{AjCf}Ch}{cc{}}000000000000000{CjAh}1{ClCb}22{CnAj}```{bb}````{ce{}{}}000000000000000000{dh}`{{be}b{{j{h}}}{{Db{}{{D`{c}}}}}}``````{{Abc}Al{{j{{Dd{f}}}}}}0{{lc}BdDf}{{nc}BdDf}{{Bhc}BdDf}{{Anc}BdDf}{{Bjc}BdDf}{{B`c}BdDf}{{Blc}BdDf}{{Bnc}BdDf}{{C`c}BdDf}{{Bbc}BdDf}{{dc}BdDf}{{A`c}BdDf}{{Abc}BdDf}{{Adc}BdDf}{{Afc}BdDf}{{Ahc}BdDf}{{Cbc}BdDf}{{Ajc}BdDf}{{be}b{{j{h}}}{{Db{}{{D`{c}}}}}}`````{ce{}{}}00000000{ch{}}{c{{Bd{e}}}{}{}}0000000000000000000000000000000000000{cDh{}}000000000000000000``","c":[],"p":[[5,"PluginTypeBuilder",0],[6,"ActionSubText",0],[1,"str"],[5,"String",313],[10,"Into",314],[5,"PluginType",0],[6,"FrontendType",0],[5,"RawContext",0],[5,"ActionText",0],[6,"Action",0],[5,"Switch",0],[6,"FileType",0],[6,"FileSeekFrom",0],[1,"unit"],[5,"ActionProcessResult",0],[5,"TextProcessResult",0],[5,"LineProcessResult",0],[6,"Result",315],[10,"Deserializer",316],[5,"ActionProcessContext",0],[5,"TextProcessContext",0],[5,"GameProcessContext",0],[5,"GameProcessResult",0],[5,"LineProcessContext",0],[5,"FileMetadata",0],[1,"bool"],[5,"Formatter",317],[8,"Result",317],[6,"VfsFileType",318],[5,"VfsMetadata",318],[6,"SeekFrom",319],[17,"Item"],[10,"IntoIterator",320],[6,"Cow",321],[10,"Serializer",322],[5,"TypeId",323]],"b":[[153,"impl-Debug-for-ActionText"],[154,"impl-Display-for-ActionText"]]}],\
-["ayaka_model",{"doc":"The high level wrapper model of Ayaka.","t":"FFFPPPPGFKNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMONNNNNNNNONNMNNNNNNNNNNNOMNMNNMNNNNNNNNNNNNNMONNNNNNNNNNNNNNNNNNNNNONONNNNN","n":["ActionRecord","GameViewModel","GlobalRecord","LoadGlobalRecords","LoadRecords","LoadSettings","Loaded","OpenGameStatus","Settings","SettingsManager","avaliable_locale","bgm_volume","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","context","context_mut","current_action","current_actions","current_history","current_run","current_title","current_visited","default","default","default","deserialize","deserialize","deserialize","eq","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","from","from","from","from","from","global_record","global_record_mut","global_record_path","history","init_context","init_context_by_index","init_new","into","into","into","into","into","lang","last_ctx","last_ctx_with_game","load_file","load_global_record","load_global_record","load_records","load_records","load_settings","load_settings","new","next_back_run","next_run","open_game","record","record","record_path","records","records_path","records_text","save_current_to","save_file","save_global_record","save_global_record","save_records","save_records","save_settings","save_settings","save_settings","serialize","serialize","serialize","serialize","set_settings","settings","settings_path","sub_lang","switch","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","update","video_volume","visited","voice_volume","vzip","vzip","vzip","vzip","vzip"],"q":[[0,"ayaka_model"],[135,"ayaka_runtime::locale"],[136,"core::iter::traits::iterator"],[137,"ayaka_plugin"],[138,"core::marker"],[139,"core::marker"],[140,"ayaka_bindings_types::config"],[141,"core::option"],[142,"core::iter::traits::double_ended"],[143,"ayaka_bindings_types::config"],[144,"core::result"],[145,"serde::de"],[146,"core::fmt"],[147,"core::fmt"],[148,"anyhow"],[149,"ayaka_runtime::config"],[150,"std::path"],[151,"serde::de"],[152,"core::future::future"],[153,"futures_core::stream"],[154,"ayaka_bindings_types::config"],[155,"serde::ser"]],"d":["The specific record.","A view model of Ayaka. It manages all settings and …","The global record.","Loading the global records.","Loading the records.","Loading the settings.","The game is loaded.","The status when calling GameViewModel::open_game
.","The settings of the game.","A settings manager trait.","Get the avaliable locales from paragraphs.","Volume of background music.","","","","","","","","","","","","","","","","","","","The Context
, should be called after Self::open_game
.","The Context
, should be called after Self::open_game
.","Get the current action by language.","Get the current action by language and secondary language.","Get the current history by language and secondary language.","Get the current RawContext
.","Get the current paragraph title.","Determine if current run has been visited.","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","The loaded GlobalRecord
.","The loaded GlobalRecord
.","Get the global record path.","The history actions.","Start a game with record.","Start a game with the index of records.","Start a new game. The state of the model after this call …","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","The display language.","Get the RawContext
object from the last Action
in the …","Get the RawContext
object from the last Action
in the …","Load a file from specified path.","Load GlobalRecord
.","Load GlobalRecord
.","Load all ActionRecord
.","Load all ActionRecord
.","Load Settings
.","Load Settings
.","Create a GameViewModel
with a settings manager.","Step back to the last run.","Step to the next run.","Open the game with context.","The current ActionRecord
.","The key is the tag of paragraphs, the value is the maximum …","Get the record path from index.","The loaded ActionRecord
s.","Get an iterator of record paths.","Get the last action text from each record.","Save current ActionRecord
to the records.","Save a file to specified path.","Save GlobalRecord
.","Save GlobalRecord
.","Save all ActionRecord
.","Save all ActionRecord
.","Save Settings
.","Save Settings
.","Save all settings and records.","","","","","Set the Settings
.","The loaded Settings
.","Get the settings path.","The secondary display language.","Choose a switch item by index.","","","","","","","","","","","","","","","","","","","","Update the global record with the latest RawContext
.","Volume of videos.","Determine if an RawContext
has been visited, by the …","Volume of voices.","","","","",""],"i":[0,0,0,12,12,12,12,0,0,0,1,9,1,9,10,11,12,1,9,10,11,12,9,10,11,12,9,10,11,12,1,1,1,1,1,1,1,1,9,10,11,9,10,11,12,12,12,12,9,10,11,12,1,9,10,11,12,1,1,5,11,1,1,1,1,9,10,11,12,9,11,11,5,5,5,5,5,5,5,1,1,1,1,1,10,5,1,5,1,1,5,5,5,5,5,5,5,1,9,10,11,12,1,1,5,9,1,9,10,11,12,1,9,10,11,12,1,9,10,11,12,1,9,10,11,12,10,9,10,9,1,9,10,11,12],"f":"``````````{{{b{ce}}}{{`{{h{}{{d{f}}}}}}}j{lnA`}}`{ce{}{}}000000000{AbAb}{AdAd}{AfAf}{AhAh}{{ce}Aj{}{}}000{{{b{ce}}}{{Al{e}}}j{lnA`}}0{{{b{ce}}}{{B`{An}}}j{lnA`}}{{{b{ce}}}{{B`{{Bb{An{B`{An}}}}}}}j{lnA`}}{{{b{ce}}}{{`{{Bd{}{{d{{Bb{An{B`{An}}}}}}}}}}}j{lnA`}}{{{b{ce}}}{{B`{Bf}}}j{lnA`}}{{{b{ce}}}{{B`{Bh}}}j{lnA`}}{{{b{ce}}}Bjj{lnA`}}{{}Ab}{{}Ad}{{}Af}{c{{Bl{Ab}}}Bn}{c{{Bl{Ad}}}Bn}{c{{Bl{Af}}}Bn}{{AhAh}Bj}{{ce}Bj{}{}}00{{AbC`}Cb}{{AdC`}Cb}{{AfC`}Cb}{{AhC`}Cb}{cc{}}0000{{{b{ce}}}Adj{lnA`}}0{{jCd}{{Ch{Cf}}}}`{{{b{ce}}Af}Ajj{lnA`}}{{{b{ce}}Cj}Ajj{lnA`}}{{{b{ce}}}Ajj{lnA`}}{ce{}{}}0000`{Af{{B`{Bf}}}}{{AfCl}Bf}{{jc}{{Ch{e}}}{{D`{Cn}}}Db}{{jCd}{{Ch{Ad}}}}0{{jCd}{{Ch{{Dd{Af}}}}}}0{j{{Ch{Ab}}}}0{c{{b{ce}}}j{lnA`}}{{{b{ce}}}Bjj{lnA`}}0{{{b{ce}}{Al{e}}}{{`{{Dh{}{{Df{{Ch{Aj}}}}}}{Dj{}{{d{Ah}}}}}}}j{lnA`}}{{{b{ce}}}Afj{lnA`}}`{{jCdCj}{{Ch{Cf}}}}{{{b{ce}}}{{Dl{Af}}}j{lnA`}}{{jCd}{{Ch{{`{{h{}{{d{{Ch{Cf}}}}}}}}}}}}{{{b{ce}}}{{`{{h{}{{d{Dn}}}}}}}j{lnA`}}{{{b{ce}}Cj}Ajj{lnA`}}{{jceBj}{{Ch{Aj}}}{{D`{Cn}}}E`}{{jCdAd}{{Ch{Aj}}}}0{{jCd{Dl{Af}}}{{Ch{Aj}}}}0{{jAb}{{Ch{Aj}}}}0{{{b{ce}}}{{Ch{Aj}}}j{lnA`}}{{Abc}BlEb}{{Adc}BlEb}{{Afc}BlEb}{{Ahc}BlEb}{{{b{ce}}Ab}Ajj{lnA`}}{{{b{ce}}}Abj{lnA`}}{j{{Ch{Cf}}}}`<{ce{}{}}000{c{{Bl{e}}}{}{}}000000000{cEd{}}0000{{AdBf}Aj}`{{AdBf}Bj}`44444","c":[],"p":[[5,"GameViewModel",0],[17,"Item"],[5,"Locale",135],[10,"Iterator",136],[10,"SettingsManager",0],[10,"RawModule",137],[10,"Send",138],[10,"Sync",138],[5,"Settings",0],[5,"GlobalRecord",0],[5,"ActionRecord",0],[6,"OpenGameStatus",0],[1,"unit"],[5,"Context",139],[6,"Action",140],[6,"Option",141],[1,"tuple"],[10,"DoubleEndedIterator",142],[5,"RawContext",140],[5,"String",143],[1,"bool"],[6,"Result",144],[10,"Deserializer",145],[5,"Formatter",146],[8,"Result",146],[1,"str"],[5,"PathBuf",147],[8,"Result",148],[1,"usize"],[5,"Game",149],[5,"Path",147],[10,"AsRef",150],[10,"DeserializeOwned",145],[5,"Vec",151],[17,"Output"],[10,"Future",152],[10,"Stream",153],[1,"slice"],[5,"ActionText",140],[10,"Serialize",154],[10,"Serializer",154],[5,"TypeId",155]],"b":[]}],\
-["ayaka_plugin",{"doc":"Base crate for plugin runtimes.","t":"SSRRKRKRSFKEENNMMNMNMNNMNMMNNNNMN","n":["ABI_ALLOC_NAME","ABI_FREE_NAME","Config","Func","Linker","Linker","LinkerHandle","LinkerHandle","MEMORY_NAME","PluginModule","RawModule","Result","anyhow","borrow","borrow_mut","call","call","call","create","from","import","inner","into","new","new","slice","slice_mut","try_from","try_into","type_id","wrap","wrap_raw","wrap_with"],"q":[[0,"ayaka_plugin"],[33,"anyhow"],[34,"core::ops::function"],[35,"serde::ser"],[36,"serde::de"],[37,"alloc::string"],[38,"std::collections::hash::map"],[39,"core::convert"],[40,"core::result"],[41,"core::any"],[42,"core::marker"],[43,"core::ops::function"]],"d":["The exported method __abi_alloc
.","The exported method __abi_free
.","Config type to create the linker.","The import function type.","Represents the linker of plugin modules.","The linker type that can create raw module.","Represents a handle of linker.","The linker handle type.","The default exported memory name.","High-level wrapper for plugin module.","Represents a raw plugin module.","","","","","Calls a method by name.","Call methods of a module.","Call a method by name.","Create a raw module from binary.","Returns the argument unchanged.","Import functions by namespace and names.","Get inner raw module.","Calls U::from(self)
.","Create the linker.","Creates a wrapper on raw module.","Get memory slice.","Get memory mutable slice.","","","","Wrap a function with args.","Wrap a function with args in bytes.","Wrap a function with args and linker handle."],"i":[0,0,9,4,0,4,0,4,0,0,0,0,0,13,13,4,10,13,9,13,9,13,13,9,13,10,10,13,13,13,9,9,9],"f":"`````````````{ce{}{}}0{{{h{}{{b{c}}{d{e}}{f{g}}}}j{n{l}}k}{{A`{i}}}AbAd{}{}{{Ah{{n{l}}}{{Af{{A`{i}}}}}}}}{{Adcj{n{l}}g}{{A`{e}}}h{}{{Ah{{n{l}}}{{Af{{A`{e}}}}}}}}{{{Aj{c}}je}{{A`{g}}}hAlAn}{{{Ab{}{{B`{c}}}}{n{l}}}{{A`{e}}}{}h}{cc{}}{{{Ab{}{{B`{c}}}}e{Bd{Bb}}}{{A`{Bf}}}{}{{Bh{Bb}}}}{{{Aj{c}}}ch}7{c{{A`{{Ab{}{{B`{c}}}}}}}{}}{c{{Aj{c}}}h}{{AdBjBje}c{}{{Ah{{n{l}}}{{Af{c}}}}}}0{c{{Bl{e}}}{}{}}0{cBn{}}{{{Ab{}{{B`{c}}}}i}{}{}{AnC`}Al{{Cb{e}{{Af{{A`{g}}}}}}CdCf}}{{{Ab{}{{B`{c}}}}e}{}{}{{Cb{BjBj}{{Af{{A`{{Ch{l}}}}}}}}CdCf}}1","c":[],"p":[[17,"Linker"],[17,"LinkerHandle"],[17,"Func"],[10,"RawModule",0],[1,"str"],[1,"u8"],[1,"slice"],[8,"Result",33],[10,"Linker",0],[10,"LinkerHandle",0],[17,"Output"],[10,"FnOnce",34],[5,"PluginModule",0],[10,"Serialize",35],[10,"DeserializeOwned",36],[17,"Config"],[5,"String",37],[5,"HashMap",38],[1,"unit"],[10,"Into",39],[1,"i32"],[6,"Result",40],[5,"TypeId",41],[10,"Tuple",42],[10,"Fn",34],[10,"Send",42],[10,"Sync",42],[5,"Vec",43]],"b":[]}],\
-["ayaka_plugin_wasmer",{"doc":"Wasmer-based plugin backend.","t":"FFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN","n":["WasmerFunction","WasmerLinker","WasmerLinkerHandle","WasmerModule","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","call","call","clone","clone_into","create","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deserialize","deserialize","deserialize","deserialize","drop","drop","drop","drop","from","from","from","from","import","init","init","init","init","into","into","into","into","layout_raw","layout_raw","layout_raw","layout_raw","new","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","slice","slice_mut","to_owned","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","upcast_any_box","upcast_any_box","upcast_any_box","upcast_any_mut","upcast_any_mut","upcast_any_mut","upcast_any_ref","upcast_any_ref","upcast_any_ref","wrap_raw"],"q":[[0,"ayaka_plugin_wasmer"],[80,"anyhow"],[81,"core::ops::function"],[82,"rkyv::with"],[83,"core::result"],[84,"alloc::string"],[85,"std::collections::hash::map"],[86,"core::convert"],[87,"core::alloc::layout"],[88,"core::alloc::layout"],[89,"alloc::boxed"],[90,"core::any"],[91,"core::ops::function"],[92,"core::marker"]],"d":["Represents a wrapped wasmer function.","A Wasmer Store
with some imports.","A Wasmer StoreMut
.","A Wasmer Instance
.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[0,0,0,0,1,11,8,9,1,11,8,9,1,8,9,9,11,1,11,8,9,1,11,8,9,1,11,8,9,1,11,8,9,1,11,8,9,11,1,11,8,9,1,11,8,9,1,11,8,9,11,1,11,8,9,8,8,9,1,11,8,9,1,11,8,9,1,11,8,9,1,11,9,1,11,9,1,11,9,11],"f":"````{ce{}{}}0000000{{bd{h{f}}e}{{j{c}}}{}{{n{{h{f}}}{{l{{j{c}}}}}}}}{{A`bd{h{f}}e}{{j{c}}}{}{{n{{h{f}}}{{l{{j{c}}}}}}}}{AbAb}{{ce}Ad{}{}}{{Af{h{f}}}{{j{b}}}}{Ahc{}}0000000{{ce}{{Al{{Aj{gi}}}}}{}{}{}{}}000{AhAd}000{cc{}}000{{Afc{B`{AnAb}}}{{j{Ad}}}{{Bb{An}}}}{{}Ah}000;;;;{{}{{Al{BdBf}}}}000{Ad{{j{Af}}}}{{}}000{{A`BhBhe}c{}{{n{{h{f}}}{{l{c}}}}}}0?{c{{Al{e}}}{}{}}0000000{cBj{}}000{{{Bl{c}}}{{Bl{Bn}}}{}}00{cBn{}}00000{{Afc}Ab{{Cb{A`BhBh}{{l{{j{{C`{f}}}}}}}}CdCf}}","c":[],"p":[[5,"WasmerModule",0],[1,"str"],[1,"u8"],[1,"slice"],[8,"Result",80],[17,"Output"],[10,"FnOnce",81],[5,"WasmerLinkerHandle",0],[5,"WasmerFunction",0],[1,"unit"],[5,"WasmerLinker",0],[1,"usize"],[5,"With",82],[6,"Result",83],[5,"String",84],[5,"HashMap",85],[10,"Into",86],[5,"Layout",87],[5,"LayoutError",87],[1,"i32"],[5,"TypeId",88],[5,"Box",89],[10,"Any",88],[5,"Vec",90],[10,"Fn",81],[10,"Send",91],[10,"Sync",91]],"b":[]}],\
-["ayaka_plugin_wasmi",{"doc":"Wasmi-based plugin backend.","t":"FFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN","n":["WasmiLinker","WasmiLinkerHandle","WasmiModule","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","call","call","create","from","from","from","import","into","into","into","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","new","slice","slice_mut","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","wrap_raw"],"q":[[0,"ayaka_plugin_wasmi"],[47,"core::any"],[48,"anyhow"],[49,"core::ops::function"],[50,"alloc::string"],[51,"wasmi::func"],[52,"std::collections::hash::map"],[53,"core::convert"],[54,"alloc::boxed"],[55,"alloc::sync"],[56,"alloc::rc"],[57,"core::result"],[58,"core::any"],[59,"core::ops::function"],[60,"core::marker"]],"d":["A Wasmi Store
with Linker
.","A Wasmi StoreContextMut
.","A Wasmi Instance
.","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","","","","","","","","","","","","","","","","","","","","","",""],"i":[0,0,0,2,10,9,2,10,9,2,10,9,2,10,9,2,9,10,2,10,9,10,2,10,9,2,10,9,2,10,9,2,10,9,10,9,9,2,10,9,2,10,9,2,10,9,10],"f":"```{cb{}}00000{ce{}{}}00000{{df{j{h}}e}{{l{c}}}{}{{A`{{j{h}}}{{n{{l{c}}}}}}}}{{Abdf{j{h}}e}{{l{c}}}{}{{A`{{j{h}}}{{n{{l{c}}}}}}}}{{Ad{j{h}}}{{l{d}}}}{cc{}}00{{Adc{Aj{AfAh}}}{{l{Al}}}{{An{Af}}}}555{{{B`{c}}}{{B`{b}}}{}}00{{{Bb{c}}}{{Bb{b}}}{}}00{{{Bd{c}}}{{Bd{b}}}{}}00{Al{{l{Ad}}}}{{AbBfBfe}c{}{{A`{{j{h}}}{{n{c}}}}}}0{c{{Bh{e}}}{}{}}00000{cBj{}}00{{Adc}Ah{{Bn{AbBfBf}{{n{{l{{Bl{h}}}}}}}}C`Cb}}","c":[],"p":[[10,"Any",47],[5,"WasmiModule",0],[1,"str"],[1,"u8"],[1,"slice"],[8,"Result",48],[17,"Output"],[10,"FnOnce",49],[5,"WasmiLinkerHandle",0],[5,"WasmiLinker",0],[5,"String",50],[5,"Func",51],[5,"HashMap",52],[1,"unit"],[10,"Into",53],[5,"Box",54],[5,"Arc",55],[5,"Rc",56],[1,"i32"],[6,"Result",57],[5,"TypeId",47],[5,"Vec",58],[10,"Fn",49],[10,"Send",59],[10,"Sync",59]],"b":[]}],\
-["ayaka_plugin_wasmtime",{"doc":"Wasmtime-based plugin backend.","t":"FFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN","n":["WasmtimeLinker","WasmtimeLinkerHandle","WasmtimeModule","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","call","call","create","deref","deref","deref","deref_mut","deref_mut","deref_mut","drop","drop","drop","from","from","from","import","init","init","init","into","into","into","new","slice","slice_mut","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","wrap_raw"],"q":[[0,"ayaka_plugin_wasmtime"],[44,"anyhow"],[45,"core::ops::function"],[46,"alloc::string"],[47,"wasmtime::func"],[48,"std::collections::hash::map"],[49,"core::convert"],[50,"core::result"],[51,"core::any"],[52,"alloc::vec"],[53,"core::ops::function"],[54,"core::marker"]],"d":["A Wasmtime Store
with Linker
.","A Wasmtime StoreContextMut
.","A Wasmtime Instance
.","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","","","","","","","","","","","","",""],"i":[0,0,0,1,9,8,1,9,8,1,8,9,1,9,8,1,9,8,1,9,8,1,9,8,9,1,9,8,1,9,8,9,8,8,1,9,8,1,9,8,1,9,8,9],"f":"```{ce{}{}}00000{{bd{h{f}}e}{{j{c}}}{}{{n{{h{f}}}{{l{{j{c}}}}}}}}{{A`bd{h{f}}e}{{j{c}}}{}{{n{{h{f}}}{{l{{j{c}}}}}}}}{{Ab{h{f}}}{{j{b}}}}{Adc{}}00000{AdAf}00{cc{}}00{{Abc{Al{AhAj}}}{{j{Af}}}{{An{Ah}}}}{{}Ad}00888{Af{{j{Ab}}}}{{A`B`B`e}c{}{{n{{h{f}}}{{l{c}}}}}}0{c{{Bb{e}}}{}{}}00000{cBd{}}00{{Abc}Aj{{Bh{A`B`B`}{{l{{j{{Bf{f}}}}}}}}BjBl}}","c":[],"p":[[5,"WasmtimeModule",0],[1,"str"],[1,"u8"],[1,"slice"],[8,"Result",44],[17,"Output"],[10,"FnOnce",45],[5,"WasmtimeLinkerHandle",0],[5,"WasmtimeLinker",0],[1,"usize"],[1,"unit"],[5,"String",46],[5,"Func",47],[5,"HashMap",48],[10,"Into",49],[1,"i32"],[6,"Result",50],[5,"TypeId",51],[5,"Vec",52],[10,"Fn",45],[10,"Send",53],[10,"Sync",53]],"b":[]}],\
-["ayaka_primitive",{"doc":"Primitive types.","t":"PPPPPPGPPGPPPGPFPPPGNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNO","n":["Bool","Bool","Char","Cmd","Custom","Empty","Line","Num","Num","RawValue","Str","Str","Str","SubText","Switch","Text","Text","Unit","Unit","ValueType","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","ch_alias","ch_tag","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","default","default","deserialize","deserialize","deserialize","eq","eq","eq","eq","eq","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","get_bool","get_num","get_str","get_type","hash","into","into","into","into","into","into_str","partial_cmp","partial_cmp","serialize","sub_texts","to_owned","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","switches"],"q":[[0,"ayaka_primitive"],[100,"ayaka_primitive::Line"],[101,"core::cmp"],[102,"core::result"],[103,"serde::de"],[104,"core::fmt"],[105,"core::fmt"],[106,"core::hash"],[107,"alloc::string"],[108,"core::option"],[109,"serde::ser"],[110,"core::any"]],"d":["The boolean type.","The boolean type.","Special character","A TeX-like command in the text.","Custom line types.","An empty line, usually fallbacks to the base language one.","Represents a line in a prograph.","The number type. It’s i64
.","The number type.","The basic and only type used in scripts.","The string type.","The string type.","Raw texts.","A part of a line, either some texts or a command.","Some switches
.","A collection of SubText
.","A text line.","The unit type. It is empty, just like None
or [()
] in Rust.","The unit type.","Represents the type of RawValue
.","","","","","","","","","","","The alias of current character.","The tag of current character.","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Gets a boolean from the value:","Gets a number from the value:","Gets a string from the value:","Gets ValueType
.","","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Gets a string from the value:","","","","The texts.","","","","","","","","","","","","","","","","","","","","","","The switch items."],"i":[2,3,5,5,1,1,0,2,3,0,2,3,5,0,1,0,1,2,3,0,1,2,3,4,5,1,2,3,4,5,4,4,1,2,3,4,5,1,2,3,4,5,2,3,2,4,1,2,4,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,2,2,2,2,2,1,2,3,4,5,2,2,3,2,4,1,2,3,4,5,1,2,3,4,4,5,1,2,3,4,5,1,2,3,4,5,21],"f":"````````````````````{ce{}{}}000000000``{bb}{dd}{ff}{hh}{jj}{{ce}l{}{}}0000{{dd}n}{{ff}n}{{}d}{{}h}{c{{A`{b}}}Ab}{c{{A`{d}}}Ab}{c{{A`{h}}}Ab}{{bb}Ad}{{dd}Ad}{{ff}Ad}{{hh}Ad}{{jj}Ad}{{bAf}Ah}{{dAf}Ah}{{fAf}Ah}{{hAf}Ah}{{jAf}Ah}{cc{}}0000{dAd}{dAj}{d{{An{Al}}}}{df}{{dc}lB`}{ce{}{}}0000{dBb}{{dd}{{Bd{n}}}}{{ff}{{Bd{n}}}}{{dc}A`Bf}`44444{c{{A`{e}}}{}{}}000{Al{{A`{hc}}}{}}111111{cBh{}}0000`","c":[],"p":[[6,"Line",0],[6,"RawValue",0],[6,"ValueType",0],[5,"Text",0],[6,"SubText",0],[1,"unit"],[6,"Ordering",101],[6,"Result",102],[10,"Deserializer",103],[1,"bool"],[5,"Formatter",104],[8,"Result",104],[1,"i64"],[1,"str"],[6,"Cow",105],[10,"Hasher",106],[5,"String",107],[6,"Option",108],[10,"Serializer",109],[5,"TypeId",110],[15,"Switch",100]],"b":[]}],\
-["ayaka_runtime",{"doc":"The runtime of Ayaka project.","t":"FFFPFFPEPPPPGFFEEEEOONNNNNNNNNNNNNNNNNNNONNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNQEONONNOOCOOOONNNNONNOOOONNNNNNNNNNNNNNNNNNNNNNNNNHENNNNNNNNNNPPGFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN","n":["Context","ContextBuilder","ContextBuilderWithPaths","CreateRuntime","Game","GameConfig","GamePlugin","Linker","LoadParagraph","LoadPlugin","LoadProfile","LoadResource","OpenStatus","Paragraph","PluginConfig","RawModule","StreamExt","TryStreamExt","anyhow","author","base_lang","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","call","clone","clone_into","config","current_paragraph_title","default","default","deserialize","deserialize","deserialize","dir","eq","equivalent","equivalent","equivalent","find_para","find_para_fallback","find_res_fallback","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","game","get_action","into","into","into","into","into","into","into","into","locale","log","modules","new","next","next_run","open","paras","paras","plugin","plugins","props","res","res","root_path","serialize","set_context","set_start_context","start","start_context","switch","tag","texts","title","title","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","version","vfs","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","with_paths","with_vfs","CreateEngine","LoadPlugin","LoadStatus","Module","Runtime","action_modules","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","dispatch_line","dispatch_text","fmt","from","from","from","game_modules","into","into","into","line_module","load","module","plugin_type","process_action","process_game","text_module","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip"],"q":[[0,"ayaka_runtime"],[140,"ayaka_runtime::plugin"],[184,"ayaka_primitive::text"],[185,"alloc::string"],[186,"anyhow"],[187,"ayaka_plugin"],[188,"core::marker"],[189,"core::marker"],[190,"core::result"],[191,"serde::de"],[192,"fallback"],[193,"ayaka_bindings_types::config"],[194,"core::fmt"],[195,"core::fmt"],[196,"core::future::future"],[197,"futures_core::stream"],[198,"vfs::path"],[199,"serde::ser"],[200,"core::any"],[201,"std::path"],[202,"core::convert"],[203,"core::iter::traits::iterator"],[204,"ayaka_bindings_types::plugin"],[205,"ayaka_bindings_types::plugin"]],"d":["The game running context.","Builder of Context
.","Builder of Context
.","Start creating plugin runtime.","The full Ayaka game. It consists of global config and all …","The Ayaka config. It should be deserialized from a YAML …","Executing game plugins.","","Loading the paragraphs.","Loading the plugin.","Start loading config file.","Loading the resources.","The open status when creating Context
.","The paragraph in a paragraph config.","The plugin config.","","","","","The author of the game.","The base language. If the runtime fails to choose a best …","","","","","","","","","","","","","","","","","Call the part of script with this context.","","","The game config.","Get current paragraph title.","","","","","","The directory of the plugins.","","","","","Find a paragraph by tag, with specified locale.","Find a paragraph by tag, with specified locale.","Find the resource map with specified locale.","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","The inner Game
object.","Get the Action
from Locale
and RawContext
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","A macro allowing for compile-time construction of valid …","","The names of the plugins, without extension.","Create a new ContextBuilder
with frontend type and plugin …","The next paragraph. If None
, the game meets the end.","Step to next line.","Open the config and load the Context
.","The paragraphs, indexed by locale. The inner is the …","The paragraphs path.","The plugin utilities.","The plugin config.","The global game properties.","The resources, indexed by locale.","The resources path.","The root path of config.","","Initialize the RawContext
with given record.","Initialize the RawContext
at the start of the game.","The start paragraph tag.","Create a RawContext
at the start of the game.","Choose a switch item by index, start by 0.","The tag and key of a paragraph. They are referenced in next
…","The texts. They will be parsed into ayaka_primitive::Text
…","The title of a paragraph. It can be None
, but better with …","The title of the game.","","","","","","","","","","","","","","","","","","","","","","","","","","Get the version of Ayaka runtime. This version string is …","","","","","","","","","","Open a context with config paths.","Open a context with config paths.","Start creating the engine.","Loading the plugin.","The load status of Runtime
.","The plugin module with high-level interfaces.","The plugin runtime.","Iterates action modules.","","","","","","","","","Calls a custom command in the line plugin.","Calls a custom command in the text plugin.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Iterates game modules.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Gets line module from command.","Load plugins from specific directory and plugin names.","Gets module from name.","Gets the PluginType
.","Processes Action
in action plugin.","Processes Game
when opening the config file.","Gets text module from command.","","","","","","","","","","","","",""],"i":[0,0,0,8,0,0,8,0,8,8,8,8,0,0,0,0,0,0,0,11,11,17,1,27,28,13,11,12,8,17,1,27,28,13,11,12,8,1,8,8,17,1,11,12,13,11,12,12,8,8,8,8,17,17,17,13,11,12,8,17,1,27,28,13,11,12,8,8,1,1,17,1,27,28,13,11,12,8,0,0,12,27,13,1,28,17,11,0,11,11,17,11,1,8,1,1,11,17,1,13,13,13,11,8,17,1,27,28,13,11,12,8,17,1,27,28,13,11,12,8,17,1,27,28,13,11,12,8,0,0,17,1,27,28,13,11,12,8,27,27,23,23,0,0,0,40,41,40,23,41,40,23,23,23,41,41,23,41,40,23,40,41,40,23,40,40,40,41,41,41,40,23,41,40,23,41,40,23,41,40,23,41,40,23],"f":"`````````````````````{ce{}{}}000000000000000{{{b{c}}d}{{h{f}}}{jln}}{A`A`}{{ce}Ab{}{}}``{{}Af}{{}Ah}{c{{Al{Aj}}}An}{c{{Al{Af}}}An}{c{{Al{Ah}}}An}`{{A`A`}B`}{{ce}B`{}{}}00```{{AjBj}Bl}{{AfBj}Bl}{{AhBj}Bl}{{A`Bj}Bl}{cc{}}000000{BnA`}1{{{b{c}}}Bb{jln}}`{ce{}{}}0000000```{Cd{{Cf{c}}}{jln}}`{{{b{c}}}{{Ad{C`}}}{jln}}{{{Ch{c}}}{{`{{Cl{}{{Cj{{h{{b{c}}}}}}}}{D`{}{{Cn{A`}}}}}}}{jln}}```````{{{b{c}}}Db{jln}}{{A`c}AlDd}{{{b{c}}C`}Ab{jln}}{{{b{c}}}Ab{jln}}`{BbC`}{{{b{c}}Df}Ab{jln}}````9{c{{Al{e}}}{}{}}000000000000000{cDh{}}0000000{{}Bd}`<<<<<<<<{{{Cf{c}}{Dj{e}}}{{h{{Ch{c}}}}}{jln}{{Dn{Dl}}}}{{{Cf{c}}{Dj{Db}}}{{h{{Ch{c}}}}}{jln}}`````{{{E`{c}}}{{`{{Ed{}{{Cn{{Eb{c}}}}}}}}}{jln}}??????{BnBn}{{ce}Ab{}{}}{{{Eb{c}}BdEf}{{h{Eh}}}j}{{{Eb{c}}Bd{Dj{f}}Ej}{{h{El}}}j}{{BnBj}Bl}{cc{}}006{ce{}{}}00{{{E`{c}}Bd}{{Ad{{Eb{c}}}}}{jln}}{{cDb{Dj{e}}}{{`{{Cl{}{{Cj{{h{{En{{E`{g}}}}}}}}}}{D`{}{{Cn{Bn}}}}}}}{{Dn{Bd}}}{{Dn{Bd}}}{jln}}1{{{Eb{c}}}{{h{F`}}}j}{{{Eb{c}}Fb}{{h{Fd}}}j}{{{Eb{c}}Ff}{{h{Fh}}}j}45{c{{Al{e}}}{}{}}00000{cDh{}}00777","c":[],"p":[[5,"Context",0],[5,"Text",184],[5,"String",185],[8,"Result",186],[10,"RawModule",187],[10,"Send",188],[10,"Sync",188],[6,"OpenStatus",0],[1,"unit"],[6,"Option",189],[5,"GameConfig",0],[5,"PluginConfig",0],[5,"Paragraph",0],[6,"Result",190],[10,"Deserializer",191],[1,"bool"],[5,"Game",0],[1,"str"],[5,"Fallback",192],[8,"VarMap",193],[5,"Formatter",194],[8,"Result",194],[6,"LoadStatus",140],[5,"RawContext",193],[6,"Action",193],[6,"FrontendType",195],[5,"ContextBuilder",0],[5,"ContextBuilderWithPaths",0],[17,"Output"],[10,"Future",196],[17,"Item"],[10,"Stream",197],[5,"VfsPath",198],[10,"Serializer",199],[1,"usize"],[5,"TypeId",200],[1,"slice"],[5,"Path",201],[10,"AsRef",202],[5,"Runtime",140],[5,"Module",140],[10,"Iterator",203],[5,"LineProcessContextRef",195],[5,"LineProcessResult",195],[5,"TextProcessContextRef",195],[5,"TextProcessResult",195],[5,"Arc",204],[5,"PluginType",195],[5,"ActionProcessContextRef",195],[5,"ActionProcessResult",195],[5,"GameProcessContextRef",195],[5,"GameProcessResult",195]],"b":[]}],\
-["ayaka_script",{"doc":"The script parsers.","t":"PPPPPGPPFPPPGFPPPPPGPPPPPPPPPPFFEGPFPGPGEPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN","n":["Add","And","And","Assign","Binary","BinaryOp","Call","Const","ConstParser","Ctx","Div","Eq","Expr","ExprParser","Ge","Gt","Inplace","Le","Logic","LogicBinaryOp","Lt","Minus","Mod","Mul","Negative","Neq","Not","Or","Or","Positive","Program","ProgramParser","RawValue","Ref","Ref","RefParser","Unary","UnaryOp","Val","ValBinaryOp","ValueType","Var","Xor","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","default","default","default","default","default","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","eq","eq","eq","eq","eq","eq","eq","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from_str","into","into","into","into","into","into","into","into","into","into","into","new","new","new","new","parse","parse","parse","parse","serialize","serialize","serialize","serialize","serialize","serialize","serialize","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id"],"q":[[0,"ayaka_script"],[183,"core::result"],[184,"serde::de"],[185,"core::fmt"],[186,"core::fmt"],[187,"lalrpop_util::lexer"],[188,"lalrpop_util"],[189,"serde::ser"],[190,"core::any"]],"d":["+
","&
","&&
","Assignment.","A binary operation.","Binary operations.","A call to a function.","A const value.","","A context variable. It is stored in the context. The …","/
","==
","An expression.","",">=
",">
","Inplace value operations.","<=
","Logical operations.","Logical operations.","<
","-
","%
","*
","-
","!=
","!
","|
","||
","+
","A full script, a collection of expressions.","","","Reference of a variable.","A reference to a variable.","","A unary operation.","Unary operations.","Value operations.","Value binary operations.","","A local variable. It is only accessible in current program.","^
","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[5,5,6,4,2,0,2,2,0,7,5,6,0,0,6,6,4,6,4,0,6,5,5,5,3,6,3,5,6,3,0,0,0,0,2,0,2,0,4,0,0,7,5,9,10,11,12,1,2,3,4,5,6,7,9,10,11,12,1,2,3,4,5,6,7,1,2,3,4,5,6,7,1,2,3,4,5,6,7,9,10,11,12,1,1,2,3,4,5,6,7,1,2,3,4,5,6,7,1,2,3,4,5,6,7,9,10,11,12,1,2,3,4,5,6,7,1,9,10,11,12,1,2,3,4,5,6,7,9,10,11,12,9,10,11,12,1,2,3,4,5,6,7,1,2,3,4,5,6,7,9,10,11,12,1,2,3,4,5,6,7,9,10,11,12,1,2,3,4,5,6,7,9,10,11,12,1,2,3,4,5,6,7],"f":"```````````````````````````````````````````{ce{}{}}000000000000000000000{bb}{dd}{ff}{hh}{jj}{ll}{nn}{{ce}A`{}{}}000000{{}Ab}{{}Ad}{{}Af}{{}Ah}{{}b}{c{{Aj{b}}}Al}{c{{Aj{d}}}Al}{c{{Aj{f}}}Al}{c{{Aj{h}}}Al}{c{{Aj{j}}}Al}{c{{Aj{l}}}Al}{c{{Aj{n}}}Al}{{bb}An}{{dd}An}{{ff}An}{{hh}An}{{jj}An}{{ll}An}{{nn}An}{{bB`}Bb}{{dB`}Bb}{{fB`}Bb}{{hB`}Bb}{{jB`}Bb}{{lB`}Bb}{{nB`}Bb}{cc{}}0000000000{Bd{{Aj{bc}}}{}}{ce{}{}}0000000000{{}Ab}{{}Ad}{{}Af}{{}Ah}{{AbBd}{{Aj{Bf{Bl{BhBjBd}}}}}}{{AdBd}{{Aj{d{Bl{BhBjBd}}}}}}{{AfBd}{{Aj{b{Bl{BhBjBd}}}}}}{{AhBd}{{Aj{n{Bl{BhBjBd}}}}}}{{bc}AjBn}{{dc}AjBn}{{fc}AjBn}{{hc}AjBn}{{jc}AjBn}{{lc}AjBn}{{nc}AjBn}???????{c{{Aj{e}}}{}{}}000000000000000000000{cC`{}}0000000000","c":[],"p":[[5,"Program",0],[6,"Expr",0],[6,"UnaryOp",0],[6,"BinaryOp",0],[6,"ValBinaryOp",0],[6,"LogicBinaryOp",0],[6,"Ref",0],[1,"unit"],[5,"ConstParser",0],[5,"ExprParser",0],[5,"ProgramParser",0],[5,"RefParser",0],[6,"Result",183],[10,"Deserializer",184],[1,"bool"],[5,"Formatter",185],[8,"Result",185],[1,"str"],[6,"RawValue",186],[1,"usize"],[5,"Token",187],[6,"ParseError",188],[10,"Serializer",189],[5,"TypeId",190]],"b":[]}]\
+["ayaka_bindings",{"t":"EEXCXEEFNNNNNNNNNNNNNNNNNN","n":["RawValue","ValueType","export","fs","import","log","vfs","HostFS","append_file","borrow","borrow_mut","create_dir","create_file","default","exists","fmt","from","into","metadata","open_file","read_dir","remove_dir","remove_file","try_from","try_into","type_id"],"q":[[0,"ayaka_bindings"],[7,"ayaka_bindings::fs"],[26,"std::io"],[27,"alloc::boxed"],[28,"vfs::error"],[29,"core::fmt"],[30,"vfs::path"],[31,"core::iter::traits::iterator"],[32,"core::result"],[33,"core::any"],[34,"ayaka_primitive::raw_value"],[35,"ayaka_bindings_impl"]],"i":[0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],"f":"````````{{{d{b}}{d{f}}}{{l{{j{h}}}}}}{{{d{c}}}{{d{e}}}{}{}}{{{d{nc}}}{{d{ne}}}{}{}}{{{d{b}}{d{f}}}{{l{A`}}}}3{{}b}{{{d{b}}{d{f}}}{{l{Ab}}}}{{{d{b}}{d{nAd}}}Af}{cc{}}{ce{}{}}{{{d{b}}{d{f}}}{{l{Ah}}}}{{{d{b}}{d{f}}}{{l{{j{Aj}}}}}}{{{d{b}}{d{f}}}{{l{{j{Al}}}}}}88{c{{An{e}}}{}{}}0{{{d{c}}}B`{}}","D":"d","p":[[5,"HostFS",7],[1,"reference"],[1,"str"],[10,"Write",26],[5,"Box",27],[8,"VfsResult",28],[0,"mut"],[1,"unit"],[1,"bool"],[5,"Formatter",29],[8,"Result",29],[5,"VfsMetadata",30],[10,"SeekAndRead",30],[10,"Iterator",31],[6,"Result",32],[5,"TypeId",33]],"r":[[0,34],[1,34],[2,35],[4,35]],"b":[],"c":"OjAAAAAAAAA=","e":"OzAAAAEAABgAAgAAABAAEwAHAA=="}],\
+["ayaka_bindings_impl",{"t":"XX","n":["export","import"],"q":[[0,"ayaka_bindings_impl"]],"i":[0,0],"f":"``","D":"`","p":[],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OjAAAAEAAAAAAAIAEAAAAAAAAQACAA=="}],\
+["ayaka_bindings_types",{"t":"GFFGFPPPPPPPPFGGGFFPPFFFFFPFPPPFFINOOONONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONOOOONNNNNNNNNNNNNNNNNNNNONOOOOOONNNNNNNNNNNNNNNNNNNNNOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOO","n":["Action","ActionProcessContext","ActionProcessResult","ActionSubText","ActionText","Block","Chars","Current","Custom","Dir","Empty","End","File","FileMetadata","FileSeekFrom","FileType","FrontendType","GameProcessContext","GameProcessResult","Html","Latex","LineProcessContext","LineProcessResult","PluginType","PluginTypeBuilder","RawContext","Start","Switch","Switches","Text","Text","TextProcessContext","TextProcessResult","VarMap","action","action","action","action","as_str","author","block","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","builder","ch_key","character","chars","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","ctx","ctx","cur_act","cur_base_para","cur_para","default","default","default","default","default","default","default","default","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","enabled","eq","eq","eq","eq","eq","eq","file_type","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","frontend","frontend","frontend","game","game","game_props","game_props","game_props","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into_string","len","line","line","locals","locals","props","props","props","push_back_block","push_back_chars","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","text","text","text","text","text","title","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vars","vars"],"q":[[0,"ayaka_bindings_types"],[313,"ayaka_bindings_types::plugin"],[314,"ayaka_bindings_types::config"],[315,"alloc::string"],[316,"core::convert"],[317,"ayaka_bindings_types::fs"],[318,"core::result"],[319,"serde::de"],[320,"core::fmt"],[321,"vfs::path"],[322,"std::io"],[323,"core::iter::traits::collect"],[324,"alloc::borrow"],[325,"serde::ser"],[326,"core::any"]],"i":[0,0,0,0,0,2,2,15,12,14,12,15,14,0,0,0,0,0,0,9,9,0,0,0,0,0,15,0,12,9,12,0,0,0,1,8,22,17,2,24,2,1,8,9,22,17,23,18,24,25,26,19,2,10,11,12,13,14,27,15,1,8,9,22,17,23,18,24,25,26,19,2,10,11,12,13,14,27,15,1,8,11,11,2,8,9,2,10,11,12,13,14,15,8,9,2,10,11,12,13,14,15,22,26,10,10,10,8,17,18,19,10,11,12,13,8,9,22,17,23,18,24,25,26,19,2,10,11,12,13,14,27,15,13,2,11,12,13,14,15,27,8,9,22,17,23,18,24,25,26,19,2,10,11,11,12,13,14,27,15,1,8,9,22,17,23,18,24,25,26,19,2,10,11,12,13,14,14,27,27,15,15,22,23,26,1,8,22,23,26,1,8,9,22,17,23,18,24,25,26,19,2,10,11,12,13,14,27,15,2,27,1,8,19,10,24,25,26,11,11,8,9,22,17,23,18,24,25,26,19,2,10,11,12,13,14,27,15,1,8,18,11,13,24,8,9,2,10,11,12,13,14,15,11,1,8,9,22,17,23,18,24,25,26,19,2,10,11,12,13,14,27,15,1,8,9,22,17,23,18,24,25,26,19,2,10,11,12,13,14,27,15,1,8,9,22,17,23,18,24,25,26,19,2,10,11,12,13,14,27,15,19,11],"f":"``````````````````````````````````{bb}```{{{f{d}}}{{f{h}}}}`{cd{{l{j}}}}{{{f{c}}}{{f{e}}}{}{}}000000000000000000{{{f{nc}}}{{f{ne}}}{}{}}000000000000000000{bA`}{{}b}``4{{{f{A`}}}A`}{{{f{Ab}}}Ab}{{{f{d}}}d}{{{f{Ad}}}Ad}{{{f{Af}}}Af}{{{f{Ah}}}Ah}{{{f{Aj}}}Aj}{{{f{Al}}}Al}{{{f{An}}}An}{{{f{c}}{f{ne}}}B`{}{}}00000000`````{{}A`}{{}Bb}{{}Bd}{{}Bf}{{}Ad}{{}Af}{{}Ah}{{}Aj}{c{{Bh{A`}}}Bj}{c{{Bh{Ab}}}Bj}{c{{Bh{Bl}}}Bj}{c{{Bh{Bb}}}Bj}{c{{Bh{Bn}}}Bj}{c{{Bh{Bd}}}Bj}{c{{Bh{C`}}}Bj}{c{{Bh{Cb}}}Bj}{c{{Bh{Cd}}}Bj}{c{{Bh{Bf}}}Bj}{c{{Bh{d}}}Bj}{c{{Bh{Ad}}}Bj}{c{{Bh{Af}}}Bj}{c{{Bh{Ah}}}Bj}{c{{Bh{Aj}}}Bj}{c{{Bh{Al}}}Bj}{c{{Bh{Cf}}}Bj}{c{{Bh{An}}}Bj}`{{{f{d}}{f{d}}}Ch}{{{f{Af}}{f{Af}}}Ch}{{{f{Ah}}{f{Ah}}}Ch}{{{f{Aj}}{f{Aj}}}Ch}{{{f{Al}}{f{Al}}}Ch}{{{f{An}}{f{An}}}Ch}`{{{f{A`}}{f{nCj}}}Cl}{{{f{Ab}}{f{nCj}}}Cl}{{{f{Bl}}{f{nCj}}}Cl}{{{f{Bb}}{f{nCj}}}Cl}{{{f{Bn}}{f{nCj}}}Cl}{{{f{Bd}}{f{nCj}}}Cl}{{{f{C`}}{f{nCj}}}Cl}{{{f{Cb}}{f{nCj}}}Cl}{{{f{Cd}}{f{nCj}}}Cl}{{{f{Bf}}{f{nCj}}}Cl}{{{f{d}}{f{nCj}}}Cl}{{{f{Ad}}{f{nCj}}}Cl}{{{f{Af}}{f{nCj}}}Cl}0{{{f{Ah}}{f{nCj}}}Cl}{{{f{Aj}}{f{nCj}}}Cl}{{{f{Al}}{f{nCj}}}Cl}{{{f{Cf}}{f{nCj}}}Cl}{{{f{An}}{f{nCj}}}Cl}{cc{}}0000000000000000{CnAl}{D`Cf}22{DbAn}```{bb}````{ce{}{}}000000000000000000{dj}`{{be}b{{l{j}}}{{Df{}{{Dd{c}}}}}}``````{{{f{nAf}}c}B`{{l{{Dh{h}}}}}}0{{{f{A`}}c}BhDj}{{{f{Ab}}c}BhDj}{{{f{Bl}}c}BhDj}{{{f{Bb}}c}BhDj}{{{f{Bn}}c}BhDj}{{{f{Bd}}c}BhDj}{{{f{C`}}c}BhDj}{{{f{Cb}}c}BhDj}{{{f{Cd}}c}BhDj}{{{f{Bf}}c}BhDj}{{{f{d}}c}BhDj}{{{f{Ad}}c}BhDj}{{{f{Af}}c}BhDj}{{{f{Ah}}c}BhDj}{{{f{Aj}}c}BhDj}{{{f{Al}}c}BhDj}{{{f{Cf}}c}BhDj}{{{f{An}}c}BhDj}{{be}b{{l{j}}}{{Df{}{{Dd{c}}}}}}`````{{{f{c}}}e{}{}}00000000{{{f{c}}}j{}}{c{{Bh{e}}}{}{}}0000000000000000000000000000000000000{{{f{c}}}Dl{}}000000000000000000``","D":"Nn","p":[[5,"PluginTypeBuilder",0,313],[6,"ActionSubText",0,314],[1,"reference"],[1,"str"],[5,"String",315],[10,"Into",316],[0,"mut"],[5,"PluginType",0,313],[6,"FrontendType",0,313],[5,"RawContext",0,314],[5,"ActionText",0,314],[6,"Action",0,314],[5,"Switch",0,314],[6,"FileType",0,317],[6,"FileSeekFrom",0,317],[1,"unit"],[5,"ActionProcessResult",0,313],[5,"TextProcessResult",0,313],[5,"LineProcessResult",0,313],[6,"Result",318],[10,"Deserializer",319],[5,"ActionProcessContext",0,313],[5,"TextProcessContext",0,313],[5,"GameProcessContext",0,313],[5,"GameProcessResult",0,313],[5,"LineProcessContext",0,313],[5,"FileMetadata",0,317],[1,"bool"],[5,"Formatter",320],[8,"Result",320],[6,"VfsFileType",321],[5,"VfsMetadata",321],[6,"SeekFrom",322],[17,"Item"],[10,"IntoIterator",323],[6,"Cow",324],[10,"Serializer",325],[5,"TypeId",326]],"r":[[0,314],[1,313],[2,313],[3,314],[4,314],[13,317],[14,317],[15,317],[16,313],[17,313],[18,313],[21,313],[22,313],[23,313],[24,313],[25,314],[27,314],[31,313],[32,313],[33,314]],"b":[[153,"impl-Display-for-ActionText"],[154,"impl-Debug-for-ActionText"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAMIACQAqACUAVQARAGwAGQCHAAUAjgASALIAAQC2AAAA3QARAPUAQgA="}],\
+["ayaka_model",{"t":"FFFPPPPGFKNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMONNNNNNNNONNMNNNNNNNNNNNOMNMNNMNNNNNNNNNNNNNMONNNNNNNNNNNNNNNNNNNNNONONNNNN","n":["ActionRecord","GameViewModel","GlobalRecord","LoadGlobalRecords","LoadRecords","LoadSettings","Loaded","OpenGameStatus","Settings","SettingsManager","avaliable_locale","bgm_volume","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","context","context_mut","current_action","current_actions","current_history","current_run","current_title","current_visited","default","default","default","deserialize","deserialize","deserialize","eq","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","from","from","from","from","from","global_record","global_record_mut","global_record_path","history","init_context","init_context_by_index","init_new","into","into","into","into","into","lang","last_ctx","last_ctx_with_game","load_file","load_global_record","load_global_record","load_records","load_records","load_settings","load_settings","new","next_back_run","next_run","open_game","record","record","record_path","records","records_path","records_text","save_current_to","save_file","save_global_record","save_global_record","save_records","save_records","save_settings","save_settings","save_settings","serialize","serialize","serialize","serialize","set_settings","settings","settings_path","sub_lang","switch","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","update","video_volume","visited","voice_volume","vzip","vzip","vzip","vzip","vzip"],"q":[[0,"ayaka_model"],[135,"ayaka_model::view_model"],[136,"ayaka_runtime::locale"],[137,"core::iter::traits::iterator"],[138,"ayaka_model::settings"],[139,"ayaka_plugin"],[140,"core::marker"],[141,"ayaka_runtime::context"],[142,"ayaka_bindings_types::config"],[143,"core::option"],[144,"core::iter::traits::double_ended"],[145,"alloc::string"],[146,"core::result"],[147,"serde::de"],[148,"core::fmt"],[149,"std::path"],[150,"anyhow"],[151,"ayaka_runtime::config"],[152,"core::convert"],[153,"alloc::vec"],[154,"core::future::future"],[155,"futures_core::stream"],[156,"serde::ser"],[157,"core::any"]],"i":[0,0,0,14,14,14,14,0,0,0,1,11,1,11,12,13,14,1,11,12,13,14,11,12,13,14,11,12,13,14,1,1,1,1,1,1,1,1,11,12,13,11,12,13,14,14,14,14,11,12,13,14,1,11,12,13,14,1,1,6,13,1,1,1,1,11,12,13,14,11,13,13,6,6,6,6,6,6,6,1,1,1,1,1,12,6,1,6,1,1,6,6,6,6,6,6,6,1,11,12,13,14,1,1,6,11,1,11,12,13,14,1,11,12,13,14,1,11,12,13,14,1,11,12,13,14,12,11,12,11,1,11,12,13,14],"f":"``````````{{{d{{b{ce}}}}}{{`{{j{}{{f{{d{h}}}}}}}}}l{nA`Ab}}`{{{d{c}}}{{d{e}}}{}{}}0000{{{d{Adc}}}{{d{Ade}}}{}{}}0000{{{d{Af}}}Af}{{{d{Ah}}}Ah}{{{d{Aj}}}Aj}{{{d{Al}}}Al}{{{d{c}}{d{Ade}}}An{}{}}000{{{d{{b{ce}}}}}{{d{{B`{e}}}}}l{nA`Ab}}{{{d{Ad{b{ce}}}}}{{d{Ad{B`{e}}}}}l{nA`Ab}}{{{d{{b{ce}}}}}{{Bd{Bb}}}l{nA`Ab}}{{{d{{b{ce}}}}}{{Bd{{Bf{Bb{Bd{Bb}}}}}}}l{nA`Ab}}{{{d{{b{ce}}}}}{{`{{Bh{}{{f{{Bf{Bb{Bd{Bb}}}}}}}}}}}l{nA`Ab}}{{{d{{b{ce}}}}}{{Bd{{d{Bj}}}}}l{nA`Ab}}{{{d{{b{ce}}}}}{{Bd{{d{Bl}}}}}l{nA`Ab}}{{{d{{b{ce}}}}}Bnl{nA`Ab}}{{}Af}{{}Ah}{{}Aj}{c{{C`{Af}}}Cb}{c{{C`{Ah}}}Cb}{c{{C`{Aj}}}Cb}{{{d{Al}}{d{Al}}}Bn}{{{d{c}}{d{e}}}Bn{}{}}00{{{d{Af}}{d{AdCd}}}Cf}{{{d{Ah}}{d{AdCd}}}Cf}{{{d{Aj}}{d{AdCd}}}Cf}{{{d{Al}}{d{AdCd}}}Cf}{cc{}}0000{{{d{{b{ce}}}}}{{d{Ah}}}l{nA`Ab}}{{{d{Ad{b{ce}}}}}{{d{AdAh}}}l{nA`Ab}}{{{d{l}}{d{Ch}}}{{Cl{Cj}}}}`{{{d{Ad{b{ce}}}}Aj}Anl{nA`Ab}}{{{d{Ad{b{ce}}}}Cn}Anl{nA`Ab}}{{{d{Ad{b{ce}}}}}Anl{nA`Ab}}{ce{}{}}0000`{{{d{Aj}}}{{Bd{{d{Bj}}}}}}{{{d{Aj}}{d{D`}}}Bj}{{{d{l}}c}{{Cl{e}}}{{Dd{Db}}}Df}{{{d{l}}{d{Ch}}}{{Cl{Ah}}}}0{{{d{l}}{d{Ch}}}{{Cl{{Dh{Aj}}}}}}0{{{d{l}}}{{Cl{Af}}}}0{c{{b{ce}}}l{nA`Ab}}{{{d{Ad{b{ce}}}}}Bnl{nA`Ab}}0{{{d{Ad{b{ce}}}}{B`{e}}}{{`{{Dl{}{{Dj{{Cl{An}}}}}}{Dn{}{{f{Al}}}}}}}l{nA`Ab}}{{{d{{b{ce}}}}}{{d{Aj}}}l{nA`Ab}}`{{{d{l}}{d{Ch}}Cn}{{Cl{Cj}}}}{{{d{{b{ce}}}}}{{d{{E`{Aj}}}}}l{nA`Ab}}{{{d{l}}{d{Ch}}}{{Cl{{`{{j{}{{f{{Cl{Cj}}}}}}}}}}}}{{{d{{b{ce}}}}}{{`{{j{}{{f{Eb}}}}}}}l{nA`Ab}}{{{d{Ad{b{ce}}}}Cn}Anl{nA`Ab}}{{{d{l}}c{d{e}}Bn}{{Cl{An}}}{{Dd{Db}}}Ed}{{{d{l}}{d{Ch}}{d{Ah}}}{{Cl{An}}}}0{{{d{l}}{d{Ch}}{d{{E`{Aj}}}}}{{Cl{An}}}}0{{{d{l}}{d{Af}}}{{Cl{An}}}}0{{{d{{b{ce}}}}}{{Cl{An}}}l{nA`Ab}}{{{d{Af}}c}C`Ef}{{{d{Ah}}c}C`Ef}{{{d{Aj}}c}C`Ef}{{{d{Al}}c}C`Ef}{{{d{Ad{b{ce}}}}Af}Anl{nA`Ab}}{{{d{{b{ce}}}}}{{d{Af}}}l{nA`Ab}}{{{d{l}}}{{Cl{Cj}}}}`<{{{d{c}}}e{}{}}000{c{{C`{e}}}{}{}}000000000{{{d{c}}}Eh{}}0000{{{d{AdAh}}{d{Bj}}}An}`{{{d{Ah}}{d{Bj}}}Bn}`{ce{}{}}0000","D":"Ih","p":[[5,"GameViewModel",0,135],[1,"reference"],[17,"Item"],[5,"Locale",136],[10,"Iterator",137],[10,"SettingsManager",0,138],[10,"RawModule",139],[10,"Send",140],[10,"Sync",140],[0,"mut"],[5,"Settings",0,138],[5,"GlobalRecord",0,138],[5,"ActionRecord",0,138],[6,"OpenGameStatus",0,135],[1,"unit"],[5,"Context",141],[6,"Action",142],[6,"Option",143],[1,"tuple"],[10,"DoubleEndedIterator",144],[5,"RawContext",142],[5,"String",145],[1,"bool"],[6,"Result",146],[10,"Deserializer",147],[5,"Formatter",148],[8,"Result",148],[1,"str"],[5,"PathBuf",149],[8,"Result",150],[1,"usize"],[5,"Game",151],[5,"Path",149],[10,"AsRef",152],[10,"DeserializeOwned",147],[5,"Vec",153],[17,"Output"],[10,"Future",154],[10,"Stream",155],[1,"slice"],[5,"ActionText",142],[10,"Serialize",156],[10,"Serializer",156],[5,"TypeId",157]],"r":[[0,138],[1,135],[2,138],[7,135],[8,138],[9,138]],"b":[],"c":"OjAAAAAAAAA=","e":"OzAAAAEAADsABQANABEAJwANAGMAAwBsABIAgwAEAA=="}],\
+["ayaka_plugin",{"t":"SSRRKRKRSFKEENNMMNMNMNNMNMMNNNNMN","n":["ABI_ALLOC_NAME","ABI_FREE_NAME","Config","Func","Linker","Linker","LinkerHandle","LinkerHandle","MEMORY_NAME","PluginModule","RawModule","Result","anyhow","borrow","borrow_mut","call","call","call","create","from","import","inner","into","new","new","slice","slice_mut","try_from","try_into","type_id","wrap","wrap_raw","wrap_with"],"q":[[0,"ayaka_plugin"],[33,"anyhow"],[34,"core::ops::function"],[35,"serde::ser"],[36,"serde::de"],[37,"alloc::string"],[38,"std::collections::hash::map"],[39,"core::convert"],[40,"core::result"],[41,"core::any"],[42,"core::marker"],[43,"alloc::vec"]],"i":[0,0,11,6,0,6,0,6,0,0,0,0,0,15,15,6,12,15,11,15,11,15,15,11,15,12,12,15,15,15,11,11,11],"f":"`````````````{{{b{c}}}{{b{e}}}{}{}}{{{b{dc}}}{{b{de}}}{}{}}{{{b{{l{}{{f{c}}{h{e}}{j{g}}}}}}{b{n}}{b{{Ab{A`}}}}k}{{Ad{i}}}{{Af{{l{}{{f{c}}{h{e}}{j{g}}}}}}}{{Ah{{l{}{{f{c}}{h{e}}{j{g}}}}}}}{}{}{{Al{{b{{Ab{A`}}}}}{{Aj{{Ad{i}}}}}}}}{{{b{dAh}}{b{c}}{b{n}}{b{{Ab{A`}}}}g}{{Ad{e}}}l{}{{Al{{b{{Ab{A`}}}}}{{Aj{{Ad{e}}}}}}}}{{{b{{An{c}}}}{b{n}}e}{{Ad{g}}}lB`Bb}{{{b{{Af{}{{Bd{c}}}}}}{b{{Ab{A`}}}}}{{Ad{e}}}{}l}{cc{}}{{{b{d{Af{}{{Bd{c}}}}}}e{Bh{Bf}}}{{Ad{Bj}}}{}{{Bl{Bf}}}}{{{b{{An{c}}}}}{{b{c}}}l}{ce{}{}}{c{{Ad{{Af{}{{Bd{c}}}}}}}{}}{c{{An{c}}}l}{{{b{Ah}}BnBne}c{}{{Al{{b{{Ab{A`}}}}}{{Aj{c}}}}}}{{{b{dAh}}BnBne}c{}{{Al{{b{d{Ab{A`}}}}}{{Aj{c}}}}}}{c{{C`{e}}}{}{}}0{{{b{c}}}Cb{}}{{{b{{Af{}{{Bd{c}}}}}}i}{}{}{BbCd}B`{{Cf{e}{{Aj{{Ad{g}}}}}}ChCj}}{{{b{{Af{}{{Bd{c}}}}}}e}{}{}{{Cf{BnBn}{{Aj{{Ad{{Cl{A`}}}}}}}}ChCj}}1","D":"Cf","p":[[1,"reference"],[0,"mut"],[17,"Linker"],[17,"LinkerHandle"],[17,"Func"],[10,"RawModule",0],[1,"str"],[1,"u8"],[1,"slice"],[8,"Result",33],[10,"Linker",0],[10,"LinkerHandle",0],[17,"Output"],[10,"FnOnce",34],[5,"PluginModule",0],[10,"Serialize",35],[10,"DeserializeOwned",36],[17,"Config"],[5,"String",37],[5,"HashMap",38],[1,"unit"],[10,"Into",39],[1,"i32"],[6,"Result",40],[5,"TypeId",41],[10,"Tuple",42],[10,"Fn",34],[10,"Send",42],[10,"Sync",42],[5,"Vec",43]],"r":[[11,33],[12,33]],"b":[],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAAYAAgAMAAMAHAACAA=="}],\
+["ayaka_plugin_wasmer",{"t":"FFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN","n":["WasmerFunction","WasmerLinker","WasmerLinkerHandle","WasmerModule","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","call","call","clone","clone_into","create","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deserialize","deserialize","deserialize","deserialize","drop","drop","drop","drop","from","from","from","from","import","init","init","init","init","into","into","into","into","layout_raw","layout_raw","layout_raw","layout_raw","new","pointer_metadata","pointer_metadata","pointer_metadata","pointer_metadata","slice","slice_mut","to_owned","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","upcast_any_box","upcast_any_box","upcast_any_box","upcast_any_mut","upcast_any_mut","upcast_any_mut","upcast_any_ref","upcast_any_ref","upcast_any_ref","wrap_raw"],"q":[[0,"ayaka_plugin_wasmer"],[80,"anyhow"],[81,"core::ops::function"],[82,"rkyv::with"],[83,"core::result"],[84,"alloc::string"],[85,"std::collections::hash::map"],[86,"core::convert"],[87,"core::alloc::layout"],[88,"core::any"],[89,"alloc::boxed"],[90,"alloc::vec"],[91,"core::marker"]],"i":[0,0,0,0,3,13,10,11,3,13,10,11,3,10,11,11,13,3,13,10,11,3,13,10,11,3,13,10,11,3,13,10,11,3,13,10,11,13,3,13,10,11,3,13,10,11,3,13,10,11,13,3,13,10,11,10,10,11,3,13,10,11,3,13,10,11,3,13,10,11,3,13,11,3,13,11,3,13,11,13],"f":"````{{{b{c}}}{{b{e}}}{}{}}000{{{b{dc}}}{{b{de}}}{}{}}000{{{b{f}}{b{h}}{b{{l{j}}}}e}{{n{c}}}{}{{Ab{{b{{l{j}}}}}{{A`{{n{c}}}}}}}}{{{b{dAd}}{b{f}}{b{h}}{b{{l{j}}}}e}{{n{c}}}{}{{Ab{{b{{l{j}}}}}{{A`{{n{c}}}}}}}}{{{b{Af}}}Af}{{{b{c}}{b{de}}}Ah{}{}}{{{b{Aj}}{b{{l{j}}}}}{{n{f}}}}{Al{{b{c}}}{}}000{Al{{b{dc}}}{}}000{{{b{c}}{b{de}}}{{B`{{An{gi}}}}}{}{}{}{}}000{AlAh}000{cc{}}000{{{b{dAj}}c{Bd{BbAf}}}{{n{Ah}}}{{Bf{Bb}}}}{{}Al}000{ce{}{}}000{{}{{B`{BhBj}}}}000{Ah{{n{Aj}}}}{b}000{{{b{Ad}}BlBle}c{}{{Ab{{b{{l{j}}}}}{{A`{c}}}}}}{{{b{dAd}}BlBle}c{}{{Ab{{b{d{l{j}}}}}{{A`{c}}}}}}{{{b{c}}}e{}{}}{c{{B`{e}}}{}{}}0000000{{{b{c}}}Bn{}}000{{{C`{c}}}{{C`{Cb}}}{}}00{{{b{dc}}}{{b{dCb}}}{}}00{{{b{c}}}{{b{Cb}}}{}}00{{{b{Aj}}c}Af{{Cf{AdBlBl}{{A`{{n{{Cd{j}}}}}}}}ChCj}}","D":"Aj","p":[[1,"reference"],[0,"mut"],[5,"WasmerModule",0],[1,"str"],[1,"u8"],[1,"slice"],[8,"Result",80],[17,"Output"],[10,"FnOnce",81],[5,"WasmerLinkerHandle",0],[5,"WasmerFunction",0],[1,"unit"],[5,"WasmerLinker",0],[1,"usize"],[5,"With",82],[6,"Result",83],[5,"String",84],[5,"HashMap",85],[10,"Into",86],[5,"Layout",87],[5,"LayoutError",87],[1,"i32"],[5,"TypeId",88],[5,"Box",89],[10,"Any",88],[5,"Vec",90],[10,"Fn",81],[10,"Send",91],[10,"Sync",91]],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAEMAAwAFABwAJgAEAC8AIQA="}],\
+["ayaka_plugin_wasmi",{"t":"FFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN","n":["WasmiLinker","WasmiLinkerHandle","WasmiModule","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","call","call","create","from","from","from","import","into","into","into","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","new","slice","slice_mut","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","wrap_raw"],"q":[[0,"ayaka_plugin_wasmi"],[47,"core::any"],[48,"anyhow"],[49,"core::ops::function"],[50,"alloc::string"],[51,"wasmi::func"],[52,"std::collections::hash::map"],[53,"core::convert"],[54,"alloc::boxed"],[55,"alloc::sync"],[56,"alloc::rc"],[57,"core::result"],[58,"alloc::vec"],[59,"core::marker"]],"i":[0,0,0,4,12,11,4,12,11,4,12,11,4,12,11,4,11,12,4,12,11,12,4,12,11,4,12,11,4,12,11,4,12,11,12,11,11,4,12,11,4,12,11,4,12,11,12],"f":"```{{{b{c}}}{{b{d}}}{}}00{{{b{fc}}}{{b{fd}}}{}}00{{{b{c}}}{{b{e}}}{}{}}00{{{b{fc}}}{{b{fe}}}{}{}}00{{{b{h}}{b{j}}{b{{n{l}}}}e}{{A`{c}}}{}{{Ad{{b{{n{l}}}}}{{Ab{{A`{c}}}}}}}}{{{b{fAf}}{b{h}}{b{j}}{b{{n{l}}}}e}{{A`{c}}}{}{{Ad{{b{{n{l}}}}}{{Ab{{A`{c}}}}}}}}{{{b{Ah}}{b{{n{l}}}}}{{A`{h}}}}{cc{}}00{{{b{fAh}}c{An{AjAl}}}{{A`{B`}}}{{Bb{Aj}}}}{ce{}{}}00{{{Bd{c}}}{{Bd{d}}}{}}00{{{Bf{c}}}{{Bf{d}}}{}}00{{{Bh{c}}}{{Bh{d}}}{}}00{B`{{A`{Ah}}}}{{{b{Af}}BjBje}c{}{{Ad{{b{{n{l}}}}}{{Ab{c}}}}}}{{{b{fAf}}BjBje}c{}{{Ad{{b{f{n{l}}}}}{{Ab{c}}}}}}{c{{Bl{e}}}{}{}}00000{{{b{c}}}Bn{}}00{{{b{Ah}}c}Al{{Cb{AfBjBj}{{Ab{{A`{{C`{l}}}}}}}}CdCf}}","D":"Ad","p":[[1,"reference"],[10,"Any",47],[0,"mut"],[5,"WasmiModule",0],[1,"str"],[1,"u8"],[1,"slice"],[8,"Result",48],[17,"Output"],[10,"FnOnce",49],[5,"WasmiLinkerHandle",0],[5,"WasmiLinker",0],[5,"String",50],[5,"Func",51],[5,"HashMap",52],[1,"unit"],[10,"Into",53],[5,"Box",54],[5,"Arc",55],[5,"Rc",56],[1,"i32"],[6,"Result",57],[5,"TypeId",47],[5,"Vec",58],[10,"Fn",49],[10,"Send",59],[10,"Sync",59]],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OzAAAAEAACUAAwAEAA4AFgAAABoAFQA="}],\
+["ayaka_plugin_wasmtime",{"t":"FFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN","n":["WasmtimeLinker","WasmtimeLinkerHandle","WasmtimeModule","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","call","call","create","deref","deref","deref","deref_mut","deref_mut","deref_mut","drop","drop","drop","from","from","from","import","init","init","init","into","into","into","new","slice","slice_mut","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","wrap_raw"],"q":[[0,"ayaka_plugin_wasmtime"],[44,"anyhow"],[45,"core::ops::function"],[46,"alloc::string"],[47,"wasmtime::func"],[48,"std::collections::hash::map"],[49,"core::convert"],[50,"core::result"],[51,"core::any"],[52,"alloc::vec"],[53,"core::marker"]],"i":[0,0,0,3,11,10,3,11,10,3,10,11,3,11,10,3,11,10,3,11,10,3,11,10,11,3,11,10,3,11,10,11,10,10,3,11,10,3,11,10,3,11,10,11],"f":"```{{{b{c}}}{{b{e}}}{}{}}00{{{b{dc}}}{{b{de}}}{}{}}00{{{b{f}}{b{h}}{b{{l{j}}}}e}{{n{c}}}{}{{Ab{{b{{l{j}}}}}{{A`{{n{c}}}}}}}}{{{b{dAd}}{b{f}}{b{h}}{b{{l{j}}}}e}{{n{c}}}{}{{Ab{{b{{l{j}}}}}{{A`{{n{c}}}}}}}}{{{b{Af}}{b{{l{j}}}}}{{n{f}}}}{Ah{{b{c}}}{}}00{Ah{{b{dc}}}{}}00{AhAj}00{cc{}}00{{{b{dAf}}c{B`{AlAn}}}{{n{Aj}}}{{Bb{Al}}}}{{}Ah}00{ce{}{}}00{Aj{{n{Af}}}}{{{b{Ad}}BdBde}c{}{{Ab{{b{{l{j}}}}}{{A`{c}}}}}}{{{b{dAd}}BdBde}c{}{{Ab{{b{d{l{j}}}}}{{A`{c}}}}}}{c{{Bf{e}}}{}{}}00000{{{b{c}}}Bh{}}00{{{b{Af}}c}An{{Bl{AdBdBd}{{A`{{n{{Bj{j}}}}}}}}BnC`}}","D":"Ad","p":[[1,"reference"],[0,"mut"],[5,"WasmtimeModule",0],[1,"str"],[1,"u8"],[1,"slice"],[8,"Result",44],[17,"Output"],[10,"FnOnce",45],[5,"WasmtimeLinkerHandle",0],[5,"WasmtimeLinker",0],[1,"usize"],[1,"unit"],[5,"String",46],[5,"Func",47],[5,"HashMap",48],[10,"Into",49],[1,"i32"],[6,"Result",50],[5,"TypeId",51],[5,"Vec",52],[10,"Fn",45],[10,"Send",53],[10,"Sync",53]],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OzAAAAEAACIAAwAEABEAGQADACAADAA="}],\
+["ayaka_primitive",{"t":"PPPPPPGPPGPPPGPFPPPGNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNO","n":["Bool","Bool","Char","Cmd","Custom","Empty","Line","Num","Num","RawValue","Str","Str","Str","SubText","Switch","Text","Text","Unit","Unit","ValueType","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","ch_alias","ch_tag","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","default","default","deserialize","deserialize","deserialize","eq","eq","eq","eq","eq","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","get_bool","get_num","get_str","get_type","hash","into","into","into","into","into","into_str","partial_cmp","partial_cmp","serialize","sub_texts","to_owned","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","switches"],"q":[[0,"ayaka_primitive"],[100,"ayaka_primitive::Line"],[101,"ayaka_primitive::line"],[102,"ayaka_primitive::raw_value"],[103,"ayaka_primitive::text"],[104,"core::cmp"],[105,"core::result"],[106,"serde::de"],[107,"core::fmt"],[108,"alloc::borrow"],[109,"core::hash"],[110,"alloc::string"],[111,"core::option"],[112,"serde::ser"],[113,"core::any"]],"i":[4,5,7,7,3,3,0,4,5,0,4,5,7,0,3,0,3,4,5,0,3,4,5,6,7,3,4,5,6,7,6,6,3,4,5,6,7,3,4,5,6,7,4,5,4,6,3,4,6,3,4,5,6,7,3,4,5,6,7,3,4,5,6,7,4,4,4,4,4,3,4,5,6,7,4,4,5,4,6,3,4,5,6,7,3,4,5,6,6,7,3,4,5,6,7,3,4,5,6,7,23],"f":"````````````````````{{{b{c}}}{{b{e}}}{}{}}0000{{{b{dc}}}{{b{de}}}{}{}}0000``{{{b{f}}}f}{{{b{h}}}h}{{{b{j}}}j}{{{b{l}}}l}{{{b{n}}}n}{{{b{c}}{b{de}}}A`{}{}}0000{{{b{h}}{b{h}}}Ab}{{{b{j}}{b{j}}}Ab}{{}h}{{}l}{c{{Ad{f}}}Af}{c{{Ad{h}}}Af}{c{{Ad{l}}}Af}{{{b{f}}{b{f}}}Ah}{{{b{h}}{b{h}}}Ah}{{{b{j}}{b{j}}}Ah}{{{b{l}}{b{l}}}Ah}{{{b{n}}{b{n}}}Ah}{{{b{f}}{b{dAj}}}Al}{{{b{h}}{b{dAj}}}Al}{{{b{j}}{b{dAj}}}Al}{{{b{l}}{b{dAj}}}Al}{{{b{n}}{b{dAj}}}Al}{cc{}}0000{{{b{h}}}Ah}{{{b{h}}}An}{{{b{h}}}{{Bb{B`}}}}{{{b{h}}}j}{{{b{h}}{b{dc}}}A`Bd}{ce{}{}}0000{hBf}{{{b{h}}{b{h}}}{{Bh{Ab}}}}{{{b{j}}{b{j}}}{{Bh{Ab}}}}{{{b{h}}c}AdBj}`{{{b{c}}}e{}{}}0000{c{{Ad{e}}}{}{}}00{{{b{B`}}}{{Ad{lc}}}{}}1111111{{{b{c}}}Bl{}}0000`","D":"E`","p":[[1,"reference"],[0,"mut"],[6,"Line",0,101],[6,"RawValue",0,102],[6,"ValueType",0,102],[5,"Text",0,103],[6,"SubText",0,103],[1,"unit"],[6,"Ordering",104],[6,"Result",105],[10,"Deserializer",106],[1,"bool"],[5,"Formatter",107],[8,"Result",107],[1,"i64"],[1,"str"],[6,"Cow",108],[10,"Hasher",109],[5,"String",110],[6,"Option",111],[10,"Serializer",112],[5,"TypeId",113],[15,"Switch",100]],"r":[[6,101],[9,102],[13,103],[15,103],[19,102]],"b":[],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAD0ABQAVAAkAIQAaAEUAAABMAAIAUAAUAA=="}],\
+["ayaka_runtime",{"t":"FFFPFFPEPPPPGFFEEEEOONNNNNNNNNNNNNNNNNNNONNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNQEONONNOOCOOOONNNNONNOOOONNNNNNNNNNNNNNNNNNNNNNNNNHENNNNNNNNNNPPGFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN","n":["Context","ContextBuilder","ContextBuilderWithPaths","CreateRuntime","Game","GameConfig","GamePlugin","Linker","LoadParagraph","LoadPlugin","LoadProfile","LoadResource","OpenStatus","Paragraph","PluginConfig","RawModule","StreamExt","TryStreamExt","anyhow","author","base_lang","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","call","clone","clone_into","config","current_paragraph_title","default","default","deserialize","deserialize","deserialize","dir","eq","equivalent","equivalent","equivalent","find_para","find_para_fallback","find_res_fallback","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","game","get_action","into","into","into","into","into","into","into","into","locale","log","modules","new","next","next_run","open","paras","paras","plugin","plugins","props","res","res","root_path","serialize","set_context","set_start_context","start","start_context","switch","tag","texts","title","title","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","version","vfs","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","with_paths","with_vfs","CreateEngine","LoadPlugin","LoadStatus","Module","Runtime","action_modules","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","dispatch_line","dispatch_text","fmt","from","from","from","game_modules","into","into","into","line_module","load","module","plugin_type","process_action","process_game","text_module","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip"],"q":[[0,"ayaka_runtime"],[140,"ayaka_runtime::plugin"],[184,"ayaka_runtime::context"],[185,"ayaka_primitive::text"],[186,"alloc::string"],[187,"anyhow"],[188,"ayaka_plugin"],[189,"core::marker"],[190,"core::option"],[191,"ayaka_runtime::config"],[192,"core::result"],[193,"serde::de"],[194,"fallback"],[195,"ayaka_bindings_types::config"],[196,"core::fmt"],[197,"ayaka_bindings_types::plugin"],[198,"core::future::future"],[199,"futures_core::stream"],[200,"vfs::path"],[201,"serde::ser"],[202,"core::any"],[203,"std::path"],[204,"core::convert"],[205,"core::iter::traits::iterator"],[206,"alloc::sync"],[207,"futures_util::stream::stream"],[208,"futures_util::stream::try_stream"]],"i":[0,0,0,10,0,0,10,0,10,10,10,10,0,0,0,0,0,0,0,13,13,19,3,29,30,15,13,14,10,19,3,29,30,15,13,14,10,3,10,10,19,3,13,14,15,13,14,14,10,10,10,10,19,19,19,15,13,14,10,19,3,29,30,15,13,14,10,10,3,3,19,3,29,30,15,13,14,10,0,0,14,29,15,3,30,19,13,0,13,13,19,13,3,10,3,3,13,19,3,15,15,15,13,10,19,3,29,30,15,13,14,10,19,3,29,30,15,13,14,10,19,3,29,30,15,13,14,10,0,0,19,3,29,30,15,13,14,10,29,29,25,25,0,0,0,42,43,42,25,43,42,25,25,25,43,43,25,43,42,25,42,43,42,25,42,42,42,43,43,43,42,25,43,42,25,43,42,25,43,42,25,43,42,25],"f":"`````````````````````{{{b{c}}}{{b{e}}}{}{}}0000000{{{b{dc}}}{{b{de}}}{}{}}0000000{{{b{{f{c}}}}{b{h}}}{{l{j}}}{nA`Ab}}{{{b{Ad}}}Ad}{{{b{c}}{b{de}}}Af{}{}}`{{{b{{f{c}}}}{b{`}}}{{Ah{{b{j}}}}}{nA`Ab}}{{}Aj}{{}Al}{c{{B`{An}}}Bb}{c{{B`{Aj}}}Bb}{c{{B`{Al}}}Bb}`{{{b{Ad}}{b{Ad}}}Bd}{{{b{c}}{b{e}}}Bd{}{}}00{{{b{Bf}}{b{`}}{b{Bh}}{b{Bh}}}{{Ah{{b{An}}}}}}{{{b{Bf}}{b{`}}{b{Bh}}{b{Bh}}}{{Bj{{b{An}}}}}}{{{b{Bf}}{b{`}}}{{Bj{{b{Bl}}}}}}{{{b{An}}{b{dBn}}}C`}{{{b{Aj}}{b{dBn}}}C`}{{{b{Al}}{b{dBn}}}C`}{{{b{Ad}}{b{dBn}}}C`}{cc{}}000000{CbAd}1{{{b{{f{c}}}}}{{b{Bf}}}{nA`Ab}}{{{b{{f{c}}}}{b{`}}{b{Cd}}}{{l{Cf}}}{nA`Ab}}{ce{}{}}0000000```{Ch{{Cj{c}}}{nA`Ab}}`{{{b{d{f{c}}}}}{{Ah{Cd}}}{nA`Ab}}{{{Cl{c}}}{{`{{D`{}{{Cn{{l{{f{c}}}}}}}}{Dd{}{{Db{Ad}}}}}}}{nA`Ab}}```````{{{b{{f{c}}}}}{{b{Df}}}{nA`Ab}}{{{b{Ad}}c}B`Dh}{{{b{d{f{c}}}}Cd}Af{nA`Ab}}{{{b{d{f{c}}}}}Af{nA`Ab}}`{{{b{Bf}}}Cd}{{{b{d{f{c}}}}Dj}Af{nA`Ab}}````{{{b{c}}}e{}{}}{c{{B`{e}}}{}{}}000000000000000{{{b{c}}}Dl{}}0000000{{}{{b{Bh}}}}`========{{{Cj{c}}{b{{Dn{e}}}}}{{l{{Cl{c}}}}}{nA`Ab}{{Eb{E`}}}}{{{Cj{c}}{b{{Dn{Df}}}}}{{l{{Cl{c}}}}}{nA`Ab}}`````{{{b{{Ed{c}}}}}{{`{{Eh{}{{Db{{b{{Ef{c}}}}}}}}}}}{nA`Ab}}{{{b{c}}}{{b{e}}}{}{}}00{{{b{dc}}}{{b{de}}}{}{}}00{{{b{Cb}}}Cb}{{{b{c}}{b{de}}}Af{}{}}{{{b{{Ef{c}}}}{b{Bh}}Ej}{{l{El}}}n}{{{b{{Ef{c}}}}{b{Bh}}{b{{Dn{j}}}}En}{{l{F`}}}n}{{{b{Cb}}{b{dBn}}}C`}{cc{}}008{ce{}{}}00{{{b{{Ed{c}}}}{b{Bh}}}{{Ah{{b{{Ef{c}}}}}}}{nA`Ab}}{{c{b{Df}}{b{{Dn{e}}}}}{{`{{D`{}{{Cn{{l{{Fb{{Ed{g}}}}}}}}}}{Dd{}{{Db{Cb}}}}}}}{{Eb{Bh}}}{{Eb{Bh}}}{nA`Ab}}1{{{b{{Ef{c}}}}}{{l{Fd}}}n}{{{b{{Ef{c}}}}Ff}{{l{Fh}}}n}{{{b{{Ef{c}}}}Fj}{{l{Fl}}}n}4{{{b{c}}}e{}{}}{c{{B`{e}}}{}{}}00000{{{b{c}}}Dl{}}00888","D":"Kd","p":[[1,"reference"],[0,"mut"],[5,"Context",0,184],[5,"Text",185],[5,"String",186],[8,"Result",187],[10,"RawModule",188],[10,"Send",189],[10,"Sync",189],[6,"OpenStatus",0,184],[1,"unit"],[6,"Option",190],[5,"GameConfig",0,191],[5,"PluginConfig",0,191],[5,"Paragraph",0,191],[6,"Result",192],[10,"Deserializer",193],[1,"bool"],[5,"Game",0,191],[1,"str"],[5,"Fallback",194],[8,"VarMap",195],[5,"Formatter",196],[8,"Result",196],[6,"LoadStatus",140],[5,"RawContext",195],[6,"Action",195],[6,"FrontendType",197],[5,"ContextBuilder",0,184],[5,"ContextBuilderWithPaths",0,184],[17,"Output"],[10,"Future",198],[17,"Item"],[10,"Stream",199],[5,"VfsPath",200],[10,"Serializer",201],[1,"usize"],[5,"TypeId",202],[1,"slice"],[5,"Path",203],[10,"AsRef",204],[5,"Runtime",140],[5,"Module",140],[10,"Iterator",205],[5,"LineProcessContextRef",197],[5,"LineProcessResult",197],[5,"TextProcessContextRef",197],[5,"TextProcessResult",197],[5,"Arc",206],[5,"PluginType",197],[5,"ActionProcessContextRef",197],[5,"ActionProcessResult",197],[5,"GameProcessContextRef",197],[5,"GameProcessResult",197]],"r":[[0,184],[1,184],[2,184],[4,191],[5,191],[7,188],[12,184],[13,191],[14,191],[15,188],[16,207],[17,208]],"b":[],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAF4ADwAIAAAAEAADABYADwAnAAEAKwAEADEAAwA4AAMAQwAAAFAAAABeAAAAaAAYAIIACACTAAcAnQAAAKwADAA="}],\
+["ayaka_script",{"t":"PPPPPGPPFPPPGFPPPPPGPPPPPPPPPPFFEGPFPGPGEPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN","n":["Add","And","And","Assign","Binary","BinaryOp","Call","Const","ConstParser","Ctx","Div","Eq","Expr","ExprParser","Ge","Gt","Inplace","Le","Logic","LogicBinaryOp","Lt","Minus","Mod","Mul","Negative","Neq","Not","Or","Or","Positive","Program","ProgramParser","RawValue","Ref","Ref","RefParser","Unary","UnaryOp","Val","ValBinaryOp","ValueType","Var","Xor","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","default","default","default","default","default","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","eq","eq","eq","eq","eq","eq","eq","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from_str","into","into","into","into","into","into","into","into","into","into","into","new","new","new","new","parse","parse","parse","parse","serialize","serialize","serialize","serialize","serialize","serialize","serialize","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id"],"q":[[0,"ayaka_script"],[183,"ayaka_script::parser::grammer::__parse__Const"],[184,"ayaka_script::parser::grammer::__parse__Expr"],[185,"ayaka_script::parser::grammer::__parse__Program"],[186,"ayaka_script::parser::grammer::__parse__Ref"],[187,"core::result"],[188,"serde::de"],[189,"core::fmt"],[190,"ayaka_primitive::raw_value"],[191,"lalrpop_util::lexer"],[192,"lalrpop_util"],[193,"serde::ser"],[194,"core::any"]],"i":[7,7,8,6,4,0,4,4,0,9,7,8,0,0,8,8,6,8,6,0,8,7,7,7,5,8,5,7,8,5,0,0,0,0,4,0,4,0,6,0,0,9,7,11,12,13,14,3,4,5,6,7,8,9,11,12,13,14,3,4,5,6,7,8,9,3,4,5,6,7,8,9,3,4,5,6,7,8,9,11,12,13,14,3,3,4,5,6,7,8,9,3,4,5,6,7,8,9,3,4,5,6,7,8,9,11,12,13,14,3,4,5,6,7,8,9,3,11,12,13,14,3,4,5,6,7,8,9,11,12,13,14,11,12,13,14,3,4,5,6,7,8,9,3,4,5,6,7,8,9,11,12,13,14,3,4,5,6,7,8,9,11,12,13,14,3,4,5,6,7,8,9,11,12,13,14,3,4,5,6,7,8,9],"f":"```````````````````````````````````````````{{{b{c}}}{{b{e}}}{}{}}0000000000{{{b{dc}}}{{b{de}}}{}{}}0000000000{{{b{f}}}f}{{{b{h}}}h}{{{b{j}}}j}{{{b{l}}}l}{{{b{n}}}n}{{{b{A`}}}A`}{{{b{Ab}}}Ab}{{{b{c}}{b{de}}}Ad{}{}}000000{{}Af}{{}Ah}{{}Aj}{{}Al}{{}f}{c{{An{f}}}B`}{c{{An{h}}}B`}{c{{An{j}}}B`}{c{{An{l}}}B`}{c{{An{n}}}B`}{c{{An{A`}}}B`}{c{{An{Ab}}}B`}{{{b{f}}{b{f}}}Bb}{{{b{h}}{b{h}}}Bb}{{{b{j}}{b{j}}}Bb}{{{b{l}}{b{l}}}Bb}{{{b{n}}{b{n}}}Bb}{{{b{A`}}{b{A`}}}Bb}{{{b{Ab}}{b{Ab}}}Bb}{{{b{f}}{b{dBd}}}Bf}{{{b{h}}{b{dBd}}}Bf}{{{b{j}}{b{dBd}}}Bf}{{{b{l}}{b{dBd}}}Bf}{{{b{n}}{b{dBd}}}Bf}{{{b{A`}}{b{dBd}}}Bf}{{{b{Ab}}{b{dBd}}}Bf}{cc{}}0000000000{{{b{Bh}}}{{An{fc}}}{}}{ce{}{}}0000000000{{}Af}{{}Ah}{{}Aj}{{}Al}{{{b{Af}}{b{Bh}}}{{An{Bj{C`{BlBn{b{Bh}}}}}}}}{{{b{Ah}}{b{Bh}}}{{An{h{C`{BlBn{b{Bh}}}}}}}}{{{b{Aj}}{b{Bh}}}{{An{f{C`{BlBn{b{Bh}}}}}}}}{{{b{Al}}{b{Bh}}}{{An{Ab{C`{BlBn{b{Bh}}}}}}}}{{{b{f}}c}AnCb}{{{b{h}}c}AnCb}{{{b{j}}c}AnCb}{{{b{l}}c}AnCb}{{{b{n}}c}AnCb}{{{b{A`}}c}AnCb}{{{b{Ab}}c}AnCb}{{{b{c}}}e{}{}}000000{c{{An{e}}}{}{}}000000000000000000000{{{b{c}}}Cd{}}0000000000","D":"Gh","p":[[1,"reference"],[0,"mut"],[5,"Program",0],[6,"Expr",0],[6,"UnaryOp",0],[6,"BinaryOp",0],[6,"ValBinaryOp",0],[6,"LogicBinaryOp",0],[6,"Ref",0],[1,"unit"],[5,"ConstParser",0,183],[5,"ExprParser",0,184],[5,"ProgramParser",0,185],[5,"RefParser",0,186],[6,"Result",187],[10,"Deserializer",188],[1,"bool"],[5,"Formatter",189],[8,"Result",189],[1,"str"],[6,"RawValue",190],[1,"usize"],[5,"Token",191],[6,"ParseError",192],[10,"Serializer",193],[5,"TypeId",194]],"r":[[8,183],[13,184],[31,185],[32,190],[35,186],[40,190]],"b":[],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAHsACAAJAAAADgAAACAAAQAkAAAAKQAAACwAPQB1AAAAgQA2AA=="}]\
]'));
if (typeof exports !== 'undefined') exports.searchIndex = searchIndex;
else if (window.initSearch) window.initSearch(searchIndex);
diff --git a/doc/search.desc/ayaka_bindings/ayaka_bindings-desc-0-.js b/doc/search.desc/ayaka_bindings/ayaka_bindings-desc-0-.js
new file mode 100644
index 00000000..ec93506e
--- /dev/null
+++ b/doc/search.desc/ayaka_bindings/ayaka_bindings-desc-0-.js
@@ -0,0 +1 @@
+searchState.loadedDescShard("ayaka_bindings", 0, "Returns the argument unchanged.\nCalls U::from(self)
.")
\ No newline at end of file
diff --git a/doc/search.desc/ayaka_bindings_impl/ayaka_bindings_impl-desc-0-.js b/doc/search.desc/ayaka_bindings_impl/ayaka_bindings_impl-desc-0-.js
new file mode 100644
index 00000000..cbaefa31
--- /dev/null
+++ b/doc/search.desc/ayaka_bindings_impl/ayaka_bindings_impl-desc-0-.js
@@ -0,0 +1 @@
+searchState.loadedDescShard("ayaka_bindings_impl", 0, "")
\ No newline at end of file
diff --git a/doc/search.desc/ayaka_bindings_types/ayaka_bindings_types-desc-0-.js b/doc/search.desc/ayaka_bindings_types/ayaka_bindings_types-desc-0-.js
new file mode 100644
index 00000000..00a20691
--- /dev/null
+++ b/doc/search.desc/ayaka_bindings_types/ayaka_bindings_types-desc-0-.js
@@ -0,0 +1 @@
+searchState.loadedDescShard("ayaka_bindings_types", 0, "The types used in both runtime and plugins.\nThe full action information in one line of config. It …\nThe argument to action plugin.\nThe result of action plugins. See examples at …\nThe unit of one line in an action.\nThe text
is a VecDeque<ActionSubText>
. The ActionSubText
…\nCharacters printed together. Usually they are HTML tags or …\nCharacters printed one by one. Usually they are meaningful …\nSeek from current position.\nA custom action.\nA directory.\nAn empty action usually means an exec
or custom action.\nSeek from end.\nA file.\nFile metadata.\nA SeekFrom
type which implements serde
.\nType of a file.\nThe type of current frontend.\nThe argument to game plugin.\nThe result of game plugins. See examples at …\nThe frontend renders HTML.\nThe frontend renders LaTeX.\nThe argument to line plugin.\nThe result of commands in line plugins. See examples at …\nThe bit flags to describe plugin type.\nThe builder of PluginType
.\nThe serializable context.\nSeek from start.\nOne switch in the switches of an Action
.\nA switch action, display switches and let player to choose.\nThe frontend only accepts raw texts.\nA text action, display some texts.\nThe argument to text plugin.\nThe result of commands in text plugins. See examples at …\nA map from variable name to RawValue
.\nAn action plugin.\nThe action plugin. This plugin processes the action after …\nThe current action.\nThe processed action text.\nGets a reference of str
.\nThe author of the game.\nCreates ActionSubText::Block
.\nBuild a PluginType
.\nCreates a PluginTypeBuilder
instance to build a PluginType
.\nThe key of current character.\nThe current character.\nCreates ActionSubText::Chars
.\nThe current context.\nThe current context.\nCurrent text index.\nCurrent base paragraph tag.\nCurrent paragraph tag.\nWhether the switch is enabled.\nType of file.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nThe frontend type.\nThe frontend type.\nThe frontend type.\nA game plugin.\nThe game plugin. This plugin processes the game properties …\nThe global properties of the game profile.\nThe global properties of the game profile.\nThe global properties of the game profile.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nGets the inner String
.\nLength of the file.\nA line plugins, which provides custom line types.\nThe line plugin. The custom line types are dealt with this …\nThe updated variables.\nCurrent local variables.\nThe global properties of the game.\nThe updated properties.\nThe full properties of the custom command.\nPush the string as ActionSubText::Block
to the back. If …\nPush the string as ActionSubText::Chars
to the back. If …\nA text plugin, which provides commands.\nThe text plugin. The custom text commands are dealt with …\nThe lines to append.\nThe full texts.\nThe switch text.\nThe title of the game.\nThe temp variables.\nThe temp variables.")
\ No newline at end of file
diff --git a/doc/search.desc/ayaka_model/ayaka_model-desc-0-.js b/doc/search.desc/ayaka_model/ayaka_model-desc-0-.js
new file mode 100644
index 00000000..79adddd6
--- /dev/null
+++ b/doc/search.desc/ayaka_model/ayaka_model-desc-0-.js
@@ -0,0 +1 @@
+searchState.loadedDescShard("ayaka_model", 0, "The high level wrapper model of Ayaka.\nThe specific record.\nA view model of Ayaka. It manages all settings and …\nThe global record.\nLoading the global records.\nLoading the records.\nLoading the settings.\nThe game is loaded.\nThe status when calling GameViewModel::open_game
.\nThe settings of the game.\nA settings manager trait.\nGet the avaliable locales from paragraphs.\nVolume of background music.\nThe Context
, should be called after Self::open_game
.\nThe Context
, should be called after Self::open_game
.\nGet the current action by language.\nGet the current action by language and secondary language.\nGet the current history by language and secondary language.\nGet the current RawContext
.\nGet the current paragraph title.\nDetermine if current run has been visited.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nThe loaded GlobalRecord
.\nThe loaded GlobalRecord
.\nGet the global record path.\nThe history actions.\nStart a game with record.\nStart a game with the index of records.\nStart a new game. The state of the model after this call …\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nThe display language.\nGet the RawContext
object from the last Action
in the …\nGet the RawContext
object from the last Action
in the …\nLoad a file from specified path.\nLoad GlobalRecord
.\nLoad GlobalRecord
.\nLoad all ActionRecord
.\nLoad all ActionRecord
.\nLoad Settings
.\nLoad Settings
.\nCreate a GameViewModel
with a settings manager.\nStep back to the last run.\nStep to the next run.\nOpen the game with context.\nThe current ActionRecord
.\nThe key is the tag of paragraphs, the value is the maximum …\nGet the record path from index.\nThe loaded ActionRecord
s.\nGet an iterator of record paths.\nGet the last action text from each record.\nSave current ActionRecord
to the records.\nSave a file to specified path.\nSave GlobalRecord
.\nSave GlobalRecord
.\nSave all ActionRecord
.\nSave all ActionRecord
.\nSave Settings
.\nSave Settings
.\nSave all settings and records.\nSet the Settings
.\nThe loaded Settings
.\nGet the settings path.\nThe secondary display language.\nChoose a switch item by index.\nUpdate the global record with the latest RawContext
.\nVolume of videos.\nDetermine if an RawContext
has been visited, by the …\nVolume of voices.")
\ No newline at end of file
diff --git a/doc/search.desc/ayaka_plugin/ayaka_plugin-desc-0-.js b/doc/search.desc/ayaka_plugin/ayaka_plugin-desc-0-.js
new file mode 100644
index 00000000..b9849163
--- /dev/null
+++ b/doc/search.desc/ayaka_plugin/ayaka_plugin-desc-0-.js
@@ -0,0 +1 @@
+searchState.loadedDescShard("ayaka_plugin", 0, "Base crate for plugin runtimes.\nThe exported method __abi_alloc
.\nThe exported method __abi_free
.\nConfig type to create the linker.\nThe import function type.\nRepresents the linker of plugin modules.\nThe linker type that can create raw module.\nRepresents a handle of linker.\nThe linker handle type.\nThe default exported memory name.\nHigh-level wrapper for plugin module.\nRepresents a raw plugin module.\nCalls a method by name.\nCall methods of a module.\nCall a method by name.\nCreate a raw module from binary.\nReturns the argument unchanged.\nImport functions by namespace and names.\nGet inner raw module.\nCalls U::from(self)
.\nCreate the linker.\nCreates a wrapper on raw module.\nGet memory slice.\nGet memory mutable slice.\nWrap a function with args.\nWrap a function with args in bytes.\nWrap a function with args and linker handle.")
\ No newline at end of file
diff --git a/doc/search.desc/ayaka_plugin_wasmer/ayaka_plugin_wasmer-desc-0-.js b/doc/search.desc/ayaka_plugin_wasmer/ayaka_plugin_wasmer-desc-0-.js
new file mode 100644
index 00000000..1bed9788
--- /dev/null
+++ b/doc/search.desc/ayaka_plugin_wasmer/ayaka_plugin_wasmer-desc-0-.js
@@ -0,0 +1 @@
+searchState.loadedDescShard("ayaka_plugin_wasmer", 0, "Wasmer-based plugin backend.\nRepresents a wrapped wasmer function.\nA Wasmer Store
with some imports.\nA Wasmer StoreMut
.\nA Wasmer Instance
.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.")
\ No newline at end of file
diff --git a/doc/search.desc/ayaka_plugin_wasmi/ayaka_plugin_wasmi-desc-0-.js b/doc/search.desc/ayaka_plugin_wasmi/ayaka_plugin_wasmi-desc-0-.js
new file mode 100644
index 00000000..a29b3059
--- /dev/null
+++ b/doc/search.desc/ayaka_plugin_wasmi/ayaka_plugin_wasmi-desc-0-.js
@@ -0,0 +1 @@
+searchState.loadedDescShard("ayaka_plugin_wasmi", 0, "Wasmi-based plugin backend.\nA Wasmi Store
with Linker
.\nA Wasmi StoreContextMut
.\nA Wasmi Instance
.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.")
\ No newline at end of file
diff --git a/doc/search.desc/ayaka_plugin_wasmtime/ayaka_plugin_wasmtime-desc-0-.js b/doc/search.desc/ayaka_plugin_wasmtime/ayaka_plugin_wasmtime-desc-0-.js
new file mode 100644
index 00000000..34bd9b6d
--- /dev/null
+++ b/doc/search.desc/ayaka_plugin_wasmtime/ayaka_plugin_wasmtime-desc-0-.js
@@ -0,0 +1 @@
+searchState.loadedDescShard("ayaka_plugin_wasmtime", 0, "Wasmtime-based plugin backend.\nA Wasmtime Store
with Linker
.\nA Wasmtime StoreContextMut
.\nA Wasmtime Instance
.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.")
\ No newline at end of file
diff --git a/doc/search.desc/ayaka_primitive/ayaka_primitive-desc-0-.js b/doc/search.desc/ayaka_primitive/ayaka_primitive-desc-0-.js
new file mode 100644
index 00000000..5bfde501
--- /dev/null
+++ b/doc/search.desc/ayaka_primitive/ayaka_primitive-desc-0-.js
@@ -0,0 +1 @@
+searchState.loadedDescShard("ayaka_primitive", 0, "Primitive types.\nThe boolean type.\nThe boolean type.\nSpecial character\nA TeX-like command in the text.\nCustom line types.\nAn empty line, usually fallbacks to the base language one.\nRepresents a line in a prograph.\nThe number type. It’s i64
.\nThe number type.\nThe basic and only type used in scripts.\nThe string type.\nThe string type.\nRaw texts.\nA part of a line, either some texts or a command.\nSome switches
.\nA collection of SubText
.\nA text line.\nThe unit type. It is empty, just like None
or [()
] in Rust.\nThe unit type.\nRepresents the type of RawValue
.\nThe alias of current character.\nThe tag of current character.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nGets a boolean from the value:\nGets a number from the value:\nGets a string from the value:\nGets ValueType
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nGets a string from the value:\nThe texts.\nThe switch items.")
\ No newline at end of file
diff --git a/doc/search.desc/ayaka_runtime/ayaka_runtime-desc-0-.js b/doc/search.desc/ayaka_runtime/ayaka_runtime-desc-0-.js
new file mode 100644
index 00000000..0017d8c3
--- /dev/null
+++ b/doc/search.desc/ayaka_runtime/ayaka_runtime-desc-0-.js
@@ -0,0 +1 @@
+searchState.loadedDescShard("ayaka_runtime", 0, "The runtime of Ayaka project.\nThe game running context.\nBuilder of Context
.\nBuilder of Context
.\nStart creating plugin runtime.\nThe full Ayaka game. It consists of global config and all …\nThe Ayaka config. It should be deserialized from a YAML …\nExecuting game plugins.\nLoading the paragraphs.\nLoading the plugin.\nStart loading config file.\nLoading the resources.\nThe open status when creating Context
.\nThe paragraph in a paragraph config.\nThe plugin config.\nThe author of the game.\nThe base language. If the runtime fails to choose a best …\nCall the part of script with this context.\nThe game config.\nGet current paragraph title.\nThe directory of the plugins.\nFind a paragraph by tag, with specified locale.\nFind a paragraph by tag, with specified locale.\nFind the resource map with specified locale.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nThe inner Game
object.\nGet the Action
from Locale
and RawContext
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nA macro allowing for compile-time construction of valid …\nThe names of the plugins, without extension.\nCreate a new ContextBuilder
with frontend type and plugin …\nThe next paragraph. If None
, the game meets the end.\nStep to next line.\nOpen the config and load the Context
.\nThe paragraphs, indexed by locale. The inner is the …\nThe paragraphs path.\nThe plugin utilities.\nThe plugin config.\nThe global game properties.\nThe resources, indexed by locale.\nThe resources path.\nThe root path of config.\nInitialize the RawContext
with given record.\nInitialize the RawContext
at the start of the game.\nThe start paragraph tag.\nCreate a RawContext
at the start of the game.\nChoose a switch item by index, start by 0.\nThe tag and key of a paragraph. They are referenced in next
…\nThe texts. They will be parsed into ayaka_primitive::Text
…\nThe title of a paragraph. It can be None
, but better with …\nThe title of the game.\nGet the version of Ayaka runtime. This version string is …\nOpen a context with config paths.\nOpen a context with config paths.\nStart creating the engine.\nLoading the plugin.\nThe load status of Runtime
.\nThe plugin module with high-level interfaces.\nThe plugin runtime.\nIterates action modules.\nCalls a custom command in the line plugin.\nCalls a custom command in the text plugin.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nIterates game modules.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nGets line module from command.\nLoad plugins from specific directory and plugin names.\nGets module from name.\nGets the PluginType
.\nProcesses Action
in action plugin.\nProcesses Game
when opening the config file.\nGets text module from command.")
\ No newline at end of file
diff --git a/doc/search.desc/ayaka_script/ayaka_script-desc-0-.js b/doc/search.desc/ayaka_script/ayaka_script-desc-0-.js
new file mode 100644
index 00000000..74bf1565
--- /dev/null
+++ b/doc/search.desc/ayaka_script/ayaka_script-desc-0-.js
@@ -0,0 +1 @@
+searchState.loadedDescShard("ayaka_script", 0, "The script parsers.\n+
\n&
\n&&
\nAssignment.\nA binary operation.\nBinary operations.\nA call to a function.\nA const value.\nA context variable. It is stored in the context. The …\n/
\n==
\nAn expression.\n>=
\n>
\nInplace value operations.\n<=
\nLogical operations.\nLogical operations.\n<
\n-
\n%
\n*
\n-
\n!=
\n!
\n|
\n||
\n+
\nA full script, a collection of expressions.\nReference of a variable.\nA reference to a variable.\nA unary operation.\nUnary operations.\nValue operations.\nValue binary operations.\nA local variable. It is only accessible in current program.\n^
\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.")
\ No newline at end of file
diff --git a/doc/settings.html b/doc/settings.html
index 308bf916..189af880 100644
--- a/doc/settings.html
+++ b/doc/settings.html
@@ -1,2 +1 @@
-Settings
- Rustdoc settings
Back
\ No newline at end of file
+Settings Rustdoc settings
Back
\ No newline at end of file
diff --git a/doc/src/ayaka_bindings/fs.rs.html b/doc/src/ayaka_bindings/fs.rs.html
index 21edeb07..158b2a33 100644
--- a/doc/src/ayaka_bindings/fs.rs.html
+++ b/doc/src/ayaka_bindings/fs.rs.html
@@ -1,6 +1,4 @@
-fs.rs - source
- 1
+fs.rs - source 1
2
3
4
diff --git a/doc/src/ayaka_bindings/lib.rs.html b/doc/src/ayaka_bindings/lib.rs.html
index 3ff25d3a..ad100502 100644
--- a/doc/src/ayaka_bindings/lib.rs.html
+++ b/doc/src/ayaka_bindings/lib.rs.html
@@ -1,6 +1,4 @@
-lib.rs - source
- 1
+lib.rs - source 1
2
3
4
diff --git a/doc/src/ayaka_bindings/logger.rs.html b/doc/src/ayaka_bindings/logger.rs.html
index 49fedd98..e066707c 100644
--- a/doc/src/ayaka_bindings/logger.rs.html
+++ b/doc/src/ayaka_bindings/logger.rs.html
@@ -1,6 +1,4 @@
-logger.rs - source
- 1
+logger.rs - source 1
2
3
4
diff --git a/doc/src/ayaka_bindings_impl/lib.rs.html b/doc/src/ayaka_bindings_impl/lib.rs.html
index 787bf8dd..11325e15 100644
--- a/doc/src/ayaka_bindings_impl/lib.rs.html
+++ b/doc/src/ayaka_bindings_impl/lib.rs.html
@@ -1,6 +1,4 @@
-lib.rs - source
- 1
+lib.rs - source 1
2
3
4
diff --git a/doc/src/ayaka_bindings_types/config.rs.html b/doc/src/ayaka_bindings_types/config.rs.html
index 7472bdcb..69ec2680 100644
--- a/doc/src/ayaka_bindings_types/config.rs.html
+++ b/doc/src/ayaka_bindings_types/config.rs.html
@@ -1,6 +1,4 @@
-config.rs - source
- 1
+config.rs - source 1
2
3
4
diff --git a/doc/src/ayaka_bindings_types/fs.rs.html b/doc/src/ayaka_bindings_types/fs.rs.html
index 404efd5c..38831986 100644
--- a/doc/src/ayaka_bindings_types/fs.rs.html
+++ b/doc/src/ayaka_bindings_types/fs.rs.html
@@ -1,6 +1,4 @@
-fs.rs - source
- 1
+fs.rs - source 1
2
3
4
diff --git a/doc/src/ayaka_bindings_types/lib.rs.html b/doc/src/ayaka_bindings_types/lib.rs.html
index 0f9a297b..e0625398 100644
--- a/doc/src/ayaka_bindings_types/lib.rs.html
+++ b/doc/src/ayaka_bindings_types/lib.rs.html
@@ -1,6 +1,4 @@
-lib.rs - source
- 1
+lib.rs - source 1
2
3
4
diff --git a/doc/src/ayaka_bindings_types/logger.rs.html b/doc/src/ayaka_bindings_types/logger.rs.html
index 4c7e40f8..8233d31a 100644
--- a/doc/src/ayaka_bindings_types/logger.rs.html
+++ b/doc/src/ayaka_bindings_types/logger.rs.html
@@ -1,6 +1,4 @@
-logger.rs - source
- 1
+logger.rs - source 1
2
3
4
diff --git a/doc/src/ayaka_bindings_types/plugin.rs.html b/doc/src/ayaka_bindings_types/plugin.rs.html
index ba11d7a1..560209f8 100644
--- a/doc/src/ayaka_bindings_types/plugin.rs.html
+++ b/doc/src/ayaka_bindings_types/plugin.rs.html
@@ -1,6 +1,4 @@
-plugin.rs - source
- 1
+plugin.rs - source 1
2
3
4
diff --git a/doc/src/ayaka_model/lib.rs.html b/doc/src/ayaka_model/lib.rs.html
index 4cb6acc3..fc6c2b17 100644
--- a/doc/src/ayaka_model/lib.rs.html
+++ b/doc/src/ayaka_model/lib.rs.html
@@ -1,6 +1,4 @@
-lib.rs - source
- 1
+lib.rs - source 1
2
3
4
diff --git a/doc/src/ayaka_model/settings.rs.html b/doc/src/ayaka_model/settings.rs.html
index 29daf5ea..c3100dea 100644
--- a/doc/src/ayaka_model/settings.rs.html
+++ b/doc/src/ayaka_model/settings.rs.html
@@ -1,6 +1,4 @@
-settings.rs - source
- 1
+settings.rs - source 1
2
3
4
diff --git a/doc/src/ayaka_model/view_model.rs.html b/doc/src/ayaka_model/view_model.rs.html
index 53571a5f..2aab0c41 100644
--- a/doc/src/ayaka_model/view_model.rs.html
+++ b/doc/src/ayaka_model/view_model.rs.html
@@ -1,6 +1,4 @@
-view_model.rs - source
- 1
+view_model.rs - source 1
2
3
4
diff --git a/doc/src/ayaka_plugin/lib.rs.html b/doc/src/ayaka_plugin/lib.rs.html
index f4189189..e4084152 100644
--- a/doc/src/ayaka_plugin/lib.rs.html
+++ b/doc/src/ayaka_plugin/lib.rs.html
@@ -1,6 +1,4 @@
-lib.rs - source
- 1
+lib.rs - source 1
2
3
4
diff --git a/doc/src/ayaka_plugin_wasmer/lib.rs.html b/doc/src/ayaka_plugin_wasmer/lib.rs.html
index e54033f7..fea24a16 100644
--- a/doc/src/ayaka_plugin_wasmer/lib.rs.html
+++ b/doc/src/ayaka_plugin_wasmer/lib.rs.html
@@ -1,6 +1,4 @@
-lib.rs - source
- 1
+lib.rs - source 1
2
3
4
diff --git a/doc/src/ayaka_plugin_wasmi/lib.rs.html b/doc/src/ayaka_plugin_wasmi/lib.rs.html
index becfabac..2d7ff38c 100644
--- a/doc/src/ayaka_plugin_wasmi/lib.rs.html
+++ b/doc/src/ayaka_plugin_wasmi/lib.rs.html
@@ -1,6 +1,4 @@
-lib.rs - source
- 1
+lib.rs - source 1
2
3
4
diff --git a/doc/src/ayaka_plugin_wasmtime/lib.rs.html b/doc/src/ayaka_plugin_wasmtime/lib.rs.html
index 095ca745..682d1b6b 100644
--- a/doc/src/ayaka_plugin_wasmtime/lib.rs.html
+++ b/doc/src/ayaka_plugin_wasmtime/lib.rs.html
@@ -1,6 +1,4 @@
-lib.rs - source
- 1
+lib.rs - source 1
2
3
4
diff --git a/doc/src/ayaka_primitive/lib.rs.html b/doc/src/ayaka_primitive/lib.rs.html
index 05e58e62..6de5c930 100644
--- a/doc/src/ayaka_primitive/lib.rs.html
+++ b/doc/src/ayaka_primitive/lib.rs.html
@@ -1,6 +1,4 @@
-lib.rs - source
- 1
+lib.rs - source 1
2
3
4
diff --git a/doc/src/ayaka_primitive/line.rs.html b/doc/src/ayaka_primitive/line.rs.html
index dc3d22e0..8513f7c2 100644
--- a/doc/src/ayaka_primitive/line.rs.html
+++ b/doc/src/ayaka_primitive/line.rs.html
@@ -1,6 +1,4 @@
-line.rs - source
-