pub struct CompiledTrigger<Event: TriggerEvent> {
pub id_str: String,
/* private fields */
}
Expand description
A compiled trigger.
Fields§
§id_str: String
A unique identifier of the trigger.
Trait Implementations§
Source§impl<Event: Clone + TriggerEvent> Clone for CompiledTrigger<Event>
impl<Event: Clone + TriggerEvent> Clone for CompiledTrigger<Event>
Source§fn clone(&self) -> CompiledTrigger<Event>
fn clone(&self) -> CompiledTrigger<Event>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<Event> Freeze for CompiledTrigger<Event>
impl<Event> RefUnwindSafe for CompiledTrigger<Event>where
<Event as TriggerEvent>::Identifier: RefUnwindSafe,
Event: RefUnwindSafe,
<Event as TriggerEvent>::Action: RefUnwindSafe,
impl<Event> Send for CompiledTrigger<Event>where
<Event as TriggerEvent>::Identifier: Send,
Event: Send,
<Event as TriggerEvent>::Action: Send,
impl<Event> Sync for CompiledTrigger<Event>where
<Event as TriggerEvent>::Identifier: Sync,
Event: Sync,
<Event as TriggerEvent>::Action: Sync,
impl<Event> Unpin for CompiledTrigger<Event>where
<Event as TriggerEvent>::Identifier: Unpin,
Event: Unpin,
<Event as TriggerEvent>::Action: Unpin,
impl<Event> UnwindSafe for CompiledTrigger<Event>where
<Event as TriggerEvent>::Identifier: UnwindSafe,
Event: UnwindSafe,
<Event as TriggerEvent>::Action: UnwindSafe,
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