Struct oxygengine_visual_novel::dialogue::Dialogue [−][src]
pub struct Dialogue {
pub character: String,
pub text: String,
pub options: Vec<DialogueOption>,
}
Fields
character: String
text: String
options: Vec<DialogueOption>
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
fn from_prefab_with_extras(
data: Value,
_named_entities: &HashMap<String, Entity, RandomState>,
_state_token: ID<PhantomData<dyn State + Send + Sync + 'static>>
) -> Result<Self, PrefabError>
Auto Trait Implementations
impl RefUnwindSafe for Dialogue
impl UnwindSafe for Dialogue
Blanket Implementations
Mutably borrows from an owned value. Read more