Enum CmpBlockKind
pub enum CmpBlockKind {
Show 15 variants
ArgumentReporterBoolean {
value: ArgumentReporterName,
},
OperatorAnd {
operand1: Option<RefBlock<CmpBlockKind>>,
operand2: Option<RefBlock<CmpBlockKind>>,
},
OperatorOr {
operand1: Option<RefBlock<CmpBlockKind>>,
operand2: Option<RefBlock<CmpBlockKind>>,
},
OperatorNot {
operand: Option<RefBlock<CmpBlockKind>>,
},
OperatorGt {
operand1: Expression,
operand2: Expression,
},
OperatorLt {
operand1: Expression,
operand2: Expression,
},
OperatorEquals {
operand1: Expression,
operand2: Expression,
},
OperatorContains {
string1: Expression,
string2: Expression,
},
DataListcontainsitem {
list: DataId<ListKind>,
item: Expression,
},
SensingColoristouchingcolor {
color: Either<Color, Expression>,
color2: Either<Color, Expression>,
},
SensingKeyoptions {
key_option: DirectDropdownOf<Rc<str>>,
},
SensingKeypressed {
key_option: Either<DropdownMenuOf<SensingKeyoptions>, Expression>,
},
SensingMousedown,
SensingTouchingobject {
object: Either<DropdownMenuOf<SensingTouchingobject>, Expression>,
},
SensingTouchingcolor {
color: Either<Color, Expression>,
},
}Variants§
ArgumentReporterBoolean
Fields
§
value: ArgumentReporterNameOperatorAnd
OperatorOr
OperatorNot
Fields
§
operand: Option<RefBlock<CmpBlockKind>>reference to boolean expression that should be negated
OperatorGt
OperatorLt
OperatorEquals
OperatorContains
DataListcontainsitem
SensingColoristouchingcolor
SensingKeyoptions
Fields
§
key_option: DirectDropdownOf<Rc<str>>SensingKeypressed
Fields
§
key_option: Either<DropdownMenuOf<SensingKeyoptions>, Expression>SensingMousedown
SensingTouchingobject
Fields
§
object: Either<DropdownMenuOf<SensingTouchingobject>, Expression>SensingTouchingcolor
Fields
§
color: Either<Color, Expression>Trait Implementations§
§impl AsOpcodeUnit for CmpBlockKind
impl AsOpcodeUnit for CmpBlockKind
type OpcodeUnit = CmpBlockKindUnit
fn opcode(&self) -> <CmpBlockKind as AsOpcodeUnit>::OpcodeUnit
§impl Clone for CmpBlockKind
impl Clone for CmpBlockKind
§fn clone(&self) -> CmpBlockKind
fn clone(&self) -> CmpBlockKind
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 CmpBlockKind
impl Debug for CmpBlockKind
§impl<'a, S> DoForAttrs<'a, S> for CmpBlockKindwhere
S: DoForAttrsStrategy<'a>,
ArgumentReporterName: DoForAttrs<'a, S>,
Option<RefBlock<CmpBlockKind>>: DoForAttrs<'a, S>,
Expression: DoForAttrs<'a, S>,
DataId<ListKind>: DoForAttrs<'a, S>,
Either<Color, Expression>: DoForAttrs<'a, S>,
DirectDropdownOf<Rc<str>>: DoForAttrs<'a, S>,
Either<DropdownMenuOf<SensingKeyoptions>, Expression>: DoForAttrs<'a, S>,
Either<DropdownMenuOf<SensingTouchingobject>, Expression>: DoForAttrs<'a, S>,
impl<'a, S> DoForAttrs<'a, S> for CmpBlockKindwhere
S: DoForAttrsStrategy<'a>,
ArgumentReporterName: DoForAttrs<'a, S>,
Option<RefBlock<CmpBlockKind>>: DoForAttrs<'a, S>,
Expression: DoForAttrs<'a, S>,
DataId<ListKind>: DoForAttrs<'a, S>,
Either<Color, Expression>: DoForAttrs<'a, S>,
DirectDropdownOf<Rc<str>>: DoForAttrs<'a, S>,
Either<DropdownMenuOf<SensingKeyoptions>, Expression>: DoForAttrs<'a, S>,
Either<DropdownMenuOf<SensingTouchingobject>, Expression>: 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<CmpBlockKind> for BlockKind
impl From<CmpBlockKind> for BlockKind
§fn from(value: CmpBlockKind) -> BlockKind
fn from(value: CmpBlockKind) -> BlockKind
Converts to this type from the input type.
§impl From<CmpBlockKind> for ExprOrCmpBlockKind
impl From<CmpBlockKind> for ExprOrCmpBlockKind
§fn from(value: CmpBlockKind) -> ExprOrCmpBlockKind
fn from(value: CmpBlockKind) -> ExprOrCmpBlockKind
Converts to this type from the input type.
§impl PartialEq for CmpBlockKind
impl PartialEq for CmpBlockKind
impl StructuralPartialEq for CmpBlockKind
Auto Trait Implementations§
impl !Send for CmpBlockKind
impl !Sync for CmpBlockKind
impl Freeze for CmpBlockKind
impl RefUnwindSafe for CmpBlockKind
impl Unpin for CmpBlockKind
impl UnsafeUnpin for CmpBlockKind
impl UnwindSafe for CmpBlockKind
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