[−][src]Struct genie_scx::Trigger
A trigger, describing automatic interactive behaviours in a scenario.
Implementations
impl Trigger
[src]
pub fn read_from(input: impl Read, version: f64) -> Result<Self>
[src]
Read a trigger from an input stream, with the given trigger system version.
pub fn write_to(&self, output: impl Write, version: f64) -> Result<()>
[src]
Write this trigger condition to an output stream, with the given trigger system version.
pub fn conditions(&self) -> impl Iterator<Item = &TriggerCondition>
[src]
Get the conditions in this trigger, in display order.
pub fn conditions_unordered_mut(
&mut self
) -> impl Iterator<Item = &mut TriggerCondition>
[src]
&mut self
) -> impl Iterator<Item = &mut TriggerCondition>
Get the conditions in this trigger, unordered.
pub fn effects(&self) -> impl Iterator<Item = &TriggerEffect>
[src]
Get the effects in this trigger, in display order.
pub fn effects_unordered_mut(
&mut self
) -> impl Iterator<Item = &mut TriggerEffect>
[src]
&mut self
) -> impl Iterator<Item = &mut TriggerEffect>
Get the effects in this trigger, unordered.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Trigger
impl Send for Trigger
impl Sync for Trigger
impl Unpin for Trigger
impl UnwindSafe for Trigger
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,