#[repr(u8)]pub enum TriggerType {
Show 18 variants
Unknown = 0,
Any = 1,
Track = 2,
TrackCentral = 3,
Gaps = 4,
Gaps633 = 5,
Gaps422 = 6,
Gaps211 = 7,
TrackUmbCentral = 8,
UmbCube = 21,
UmbCubeZ = 22,
UmbCorCube = 23,
CorCubeSide = 24,
Umb3Cube = 25,
Poisson = 100,
Forced = 101,
FixedRate = 102,
ConfigurableTrigger = 200,
}
Variants§
Unknown = 0
Any = 1
-> 1-10 “pysics” triggers
Track = 2
TrackCentral = 3
Gaps = 4
Gaps633 = 5
Gaps422 = 6
Gaps211 = 7
TrackUmbCentral = 8
UmbCube = 21
-> 20+ “Philip’s triggers” Any paddle HIT in UMB + any paddle HIT in CUB
UmbCubeZ = 22
Any paddle HIT in UMB + any paddle HIT in CUB top
UmbCorCube = 23
Any paddle HIT in UMB + any paddle hit in COR + any paddle hit in CUB
CorCubeSide = 24
Any paddle HIT in COR + any paddle HIT in CUB SIDES
Umb3Cube = 25
Any paddle hit in UMB + any three paddles HIT in CUB
Poisson = 100
100 -> Debug triggers
Forced = 101
FixedRate = 102
ConfigurableTrigger = 200
200 -> These triggers can not be set, they are merely the result of what we read out from the trigger mask of the ltb
Implementations§
Trait Implementations§
Source§impl Clone for TriggerType
impl Clone for TriggerType
Source§fn clone(&self) -> TriggerType
fn clone(&self) -> TriggerType
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 moreSource§impl Debug for TriggerType
impl Debug for TriggerType
Source§impl<'de> Deserialize<'de> for TriggerType
impl<'de> Deserialize<'de> for TriggerType
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 Display for TriggerType
impl Display for TriggerType
Source§impl From<u8> for TriggerType
impl From<u8> for TriggerType
Source§impl FromRandom for TriggerType
impl FromRandom for TriggerType
fn from_random() -> Self
Source§impl PartialEq for TriggerType
impl PartialEq for TriggerType
Source§impl Serialize for TriggerType
impl Serialize for TriggerType
impl Copy for TriggerType
impl StructuralPartialEq for TriggerType
Auto Trait Implementations§
impl Freeze for TriggerType
impl RefUnwindSafe for TriggerType
impl Send for TriggerType
impl Sync for TriggerType
impl Unpin for TriggerType
impl UnwindSafe for TriggerType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 moreSource§impl<T> IntoSql for T
impl<T> IntoSql for T
Source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
Convert
self
to an expression for Diesel’s query builder. Read moreSource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
Convert
&self
to an expression for Diesel’s query builder. Read more