Struct oxygengine_visual_novel::dialogue::DialogueOption [−][src]
pub struct DialogueOption {
pub text: String,
pub action: DialogueAction,
pub focused: SwitchTransition,
}
Fields
text: String
action: DialogueAction
focused: SwitchTransition
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
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 DialogueOption
impl Send for DialogueOption
impl Sync for DialogueOption
impl Unpin for DialogueOption
impl UnwindSafe for DialogueOption
Blanket Implementations
Mutably borrows from an owned value. Read more