Struct pabitell_lib::events::Talk
source · [−]pub struct Talk { /* private fields */ }
Implementations
Trait Implementations
sourceimpl Event for Talk
impl Event for Talk
fn name(&self) -> &str
fn initiator(&self) -> String
fn set_initiator(&mut self, initiator: String)
fn set_world_update(&mut self, update: WorldUpdate)
fn set_condition(&mut self, condition: Condition)
fn set_make_action_text(&mut self, text: Text)
fn set_make_success_text(&mut self, text: Text)
fn set_make_fail_text(&mut self, text: Text)
fn get_world_update(&self) -> &WorldUpdate
fn get_condition(&self) -> &Condition
fn get_make_action_text(&self) -> &Text
fn get_make_success_text(&self) -> &Text
fn get_make_fail_text(&self) -> &Text
fn dump(&self) -> Value
fn matches(&self, value: &Value) -> bool
fn items(&self) -> Vec<String>
fn characters(&self) -> Vec<String>
fn kind(&self) -> &str
fn can_be_triggered(&self, world: &dyn World) -> bool
fn trigger(&mut self, world: &mut dyn World)
fn perform(&mut self, world: &mut dyn World) -> bool
fn action_text(&self, world: &dyn World) -> String
fn success_text(&self, world: &dyn World) -> String
fn fail_text(&self, world: &dyn World) -> String
fn sort_key(&self, world: &dyn World) -> (usize, String, String, String)
Auto Trait Implementations
impl !RefUnwindSafe for Talk
impl !Send for Talk
impl !Sync for Talk
impl Unpin for Talk
impl !UnwindSafe for Talk
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more