[−][src]Struct genie_scx::Trigger
A trigger, describing automatic interactive behaviours in a scenario.
Methods
impl Trigger
[src]
pub fn from<R: Read>(input: &mut R, version: f64) -> Result<Self>
[src]
Read a trigger from an input stream, with the given trigger system version.
pub fn conditions(&self) -> impl Iterator<Item = &TriggerCondition>
[src]
pub fn conditions_unordered_mut(
&mut self
) -> impl Iterator<Item = &mut TriggerCondition>
[src]
&mut self
) -> impl Iterator<Item = &mut TriggerCondition>
pub fn effects(&self) -> impl Iterator<Item = &TriggerEffect>
[src]
pub fn effects_unordered_mut(
&mut self
) -> impl Iterator<Item = &mut TriggerEffect>
[src]
&mut self
) -> impl Iterator<Item = &mut TriggerEffect>
Trait Implementations
Auto Trait Implementations
impl Sync for Trigger
impl Unpin for Trigger
impl Send for Trigger
impl UnwindSafe for Trigger
impl RefUnwindSafe for Trigger
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,