Enum EventBlockKind
pub enum EventBlockKind {
EventWhenflagclicked,
EventWhenthisspriteclicked,
EventWhenbackdropswitchesto {
backdrop: DirectDropdownOf<Rc<str>>,
},
EventWhenkeypressed {
key_option: DirectDropdownOf<Rc<str>>,
},
EventWhenbroadcastreceived {
broadcast_option: BroadcastId,
},
EventWhengreaterthan {
value: Expression,
category: DirectDropdownOf<GreaterThan>,
},
}Variants§
EventWhenflagclicked
EventWhenthisspriteclicked
EventWhenbackdropswitchesto
Fields
§
backdrop: DirectDropdownOf<Rc<str>>EventWhenkeypressed
Fields
§
key_option: DirectDropdownOf<Rc<str>>EventWhenbroadcastreceived
Fields
§
broadcast_option: BroadcastIdEventWhengreaterthan
Trait Implementations§
§impl AsOpcodeUnit for EventBlockKind
impl AsOpcodeUnit for EventBlockKind
type OpcodeUnit = EventBlockKindUnit
fn opcode(&self) -> <EventBlockKind as AsOpcodeUnit>::OpcodeUnit
§impl Clone for EventBlockKind
impl Clone for EventBlockKind
§fn clone(&self) -> EventBlockKind
fn clone(&self) -> EventBlockKind
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 more§impl Debug for EventBlockKind
impl Debug for EventBlockKind
§impl<'a, S> DoForAttrs<'a, S> for EventBlockKindwhere
S: DoForAttrsStrategy<'a>,
DirectDropdownOf<Rc<str>>: DoForAttrs<'a, S>,
BroadcastId: DoForAttrs<'a, S>,
Expression: DoForAttrs<'a, S>,
DirectDropdownOf<GreaterThan>: DoForAttrs<'a, S>,
impl<'a, S> DoForAttrs<'a, S> for EventBlockKindwhere
S: DoForAttrsStrategy<'a>,
DirectDropdownOf<Rc<str>>: DoForAttrs<'a, S>,
BroadcastId: DoForAttrs<'a, S>,
Expression: DoForAttrs<'a, S>,
DirectDropdownOf<GreaterThan>: DoForAttrs<'a, S>,
fn do_for_attrs( &'a self, inputs_that_are_passed_to_all_attributes: &<S as DoForAttrsStrategy<'a>>::Inputs, outputs_received_by_all_attributes: &mut <S as DoForAttrsStrategy<'a>>::Outputs, ) -> Result<(), <S as DoForAttrsStrategy<'a>>::Error>
§impl From<EventBlockKind> for BlockKind
impl From<EventBlockKind> for BlockKind
§fn from(value: EventBlockKind) -> BlockKind
fn from(value: EventBlockKind) -> BlockKind
Converts to this type from the input type.
§impl PartialEq for EventBlockKind
impl PartialEq for EventBlockKind
impl StructuralPartialEq for EventBlockKind
Auto Trait Implementations§
impl !Send for EventBlockKind
impl !Sync for EventBlockKind
impl Freeze for EventBlockKind
impl RefUnwindSafe for EventBlockKind
impl Unpin for EventBlockKind
impl UnsafeUnpin for EventBlockKind
impl UnwindSafe for EventBlockKind
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 more