pub struct SequenceStep {
pub at_ticks: u32,
pub effects: Vec<QuestEffect>,
}Expand description
One step of a Verb::Sequence (DSL v0.6): a group of effects fired at
an exact tick offset from the sequence’s start.
Fields§
§at_ticks: u32Tick offset from the sequence start at which effects fire.
effects: Vec<QuestEffect>The effects fired at at_ticks. Any stage-5 effect except a nested
sequence (rejected with DW0329).
Trait Implementations§
Source§impl Clone for SequenceStep
impl Clone for SequenceStep
Source§impl Debug for SequenceStep
impl Debug for SequenceStep
Source§impl<'de> Deserialize<'de> for SequenceStep
impl<'de> Deserialize<'de> for SequenceStep
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for SequenceStep
impl JsonSchema for SequenceStep
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for SequenceStep
impl PartialEq for SequenceStep
Source§impl Serialize for SequenceStep
impl Serialize for SequenceStep
impl StructuralPartialEq for SequenceStep
Auto Trait Implementations§
impl Freeze for SequenceStep
impl RefUnwindSafe for SequenceStep
impl Send for SequenceStep
impl Sync for SequenceStep
impl Unpin for SequenceStep
impl UnsafeUnpin for SequenceStep
impl UnwindSafe for SequenceStep
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more