#[repr(C)]pub struct PredicateTriggerRule {
pub trigger_event_hash: u64,
pub target_class_hash: u64,
pub target_topic_hash: u64,
pub target_subpart_hash: u64,
pub preset_hash: u64,
pub follow_up_preset_hash: u64,
pub temporal_op: TemporalOp,
pub max_radius_m: f32,
pub propagation_speed_mps: f32,
pub duration_ms: u16,
pub blend_in_ms: u8,
pub amplitude_u8: u8,
}Expand description
Declarative predicate broadcast rule emitted by the Scene AI or loaded from a .p64 cartridge.
Fields§
§trigger_event_hash: u64§target_class_hash: u64§target_topic_hash: u64§target_subpart_hash: u64§preset_hash: u64§follow_up_preset_hash: u64§temporal_op: TemporalOp§max_radius_m: f32§propagation_speed_mps: f32§duration_ms: u16§blend_in_ms: u8§amplitude_u8: u8Trait Implementations§
Source§impl Clone for PredicateTriggerRule
impl Clone for PredicateTriggerRule
impl Copy for PredicateTriggerRule
Source§impl Debug for PredicateTriggerRule
impl Debug for PredicateTriggerRule
Source§impl PartialEq for PredicateTriggerRule
impl PartialEq for PredicateTriggerRule
impl StructuralPartialEq for PredicateTriggerRule
Auto Trait Implementations§
impl Freeze for PredicateTriggerRule
impl RefUnwindSafe for PredicateTriggerRule
impl Send for PredicateTriggerRule
impl Sync for PredicateTriggerRule
impl Unpin for PredicateTriggerRule
impl UnsafeUnpin for PredicateTriggerRule
impl UnwindSafe for PredicateTriggerRule
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more