Enum EventBlockKindUnit
pub enum EventBlockKindUnit {
EventWhenflagclicked,
EventWhenthisspriteclicked,
EventWhenbackdropswitchesto,
EventWhenkeypressed,
EventWhenbroadcastreceived,
EventWhengreaterthan,
}Variants§
EventWhenflagclicked
event_whenflagclicked is the json-side opcode
EventWhenthisspriteclicked
event_whenthisspriteclicked is the json-side opcode
EventWhenbackdropswitchesto
event_whenbackdropswitchesto is the json-side opcode
EventWhenkeypressed
event_whenkeypressed is the json-side opcode
EventWhenbroadcastreceived
event_whenbroadcastreceived is the json-side opcode
EventWhengreaterthan
event_whengreaterthan is the json-side opcode
Implementations§
§impl EventBlockKindUnit
impl EventBlockKindUnit
pub const fn k_opcode_name(&self) -> &'static str
pub const fn k_opcode_name(&self) -> &'static str
Method with the same functionality as
AsOpcodeName::opcode_name,
but this can be used in a const-context.
Trait Implementations§
§impl AsOpcodeName for EventBlockKindUnit
impl AsOpcodeName for EventBlockKindUnit
fn opcode_name(&self) -> &'static str
§impl Clone for EventBlockKindUnit
impl Clone for EventBlockKindUnit
§fn clone(&self) -> EventBlockKindUnit
fn clone(&self) -> EventBlockKindUnit
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EventBlockKindUnit
§impl Debug for EventBlockKindUnit
impl Debug for EventBlockKindUnit
§impl Display for EventBlockKindUnit
impl Display for EventBlockKindUnit
impl Eq for EventBlockKindUnit
§impl From<EventBlockKindUnit> for BlockKindUnit
impl From<EventBlockKindUnit> for BlockKindUnit
§fn from(value: EventBlockKindUnit) -> BlockKindUnit
fn from(value: EventBlockKindUnit) -> BlockKindUnit
Converts to this type from the input type.
§impl Hash for EventBlockKindUnit
impl Hash for EventBlockKindUnit
§impl Ord for EventBlockKindUnit
impl Ord for EventBlockKindUnit
§fn cmp(&self, other: &EventBlockKindUnit) -> Ordering
fn cmp(&self, other: &EventBlockKindUnit) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for EventBlockKindUnit
impl PartialEq for EventBlockKindUnit
§impl PartialOrd for EventBlockKindUnit
impl PartialOrd for EventBlockKindUnit
impl StructuralPartialEq for EventBlockKindUnit
Auto Trait Implementations§
impl Freeze for EventBlockKindUnit
impl RefUnwindSafe for EventBlockKindUnit
impl Send for EventBlockKindUnit
impl Sync for EventBlockKindUnit
impl Unpin for EventBlockKindUnit
impl UnsafeUnpin for EventBlockKindUnit
impl UnwindSafe for EventBlockKindUnit
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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