Enum BlockKind
pub enum BlockKind {
ProceduresDefinition(ProceduresDefinition),
ProceduresPrototype(ProceduresPrototype),
Event(EventBlockKind),
ExprCmp(ExprOrCmpBlockKind),
Stmt(StmtBlockKind),
}Expand description
opcode block type is BlockKindUnit
Variants§
ProceduresDefinition(ProceduresDefinition)
ProceduresPrototype(ProceduresPrototype)
Event(EventBlockKind)
ExprCmp(ExprOrCmpBlockKind)
Stmt(StmtBlockKind)
Trait Implementations§
§impl AsOpcodeUnit for BlockKind
impl AsOpcodeUnit for BlockKind
type OpcodeUnit = BlockKindUnit
fn opcode(&self) -> <BlockKind as AsOpcodeUnit>::OpcodeUnit
§impl<'a, S> DoForAttrs<'a, S> for BlockKindwhere
S: DoForAttrsStrategy<'a>,
ExprOrCmpBlockKind: DoForAttrs<'a, S>,
StmtBlockKind: DoForAttrs<'a, S>,
EventBlockKind: DoForAttrs<'a, S>,
ProceduresPrototype: DoForAttrs<'a, S>,
ProceduresDefinition: DoForAttrs<'a, S>,
impl<'a, S> DoForAttrs<'a, S> for BlockKindwhere
S: DoForAttrsStrategy<'a>,
ExprOrCmpBlockKind: DoForAttrs<'a, S>,
StmtBlockKind: DoForAttrs<'a, S>,
EventBlockKind: DoForAttrs<'a, S>,
ProceduresPrototype: DoForAttrs<'a, S>,
ProceduresDefinition: DoForAttrs<'a, S>,
fn do_for_attrs( &'a self, inputs: &<S as DoForAttrsStrategy<'a>>::Inputs, outputs: &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<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 From<ExprBlockKind> for BlockKind
impl From<ExprBlockKind> for BlockKind
§fn from(value: ExprBlockKind) -> BlockKind
fn from(value: ExprBlockKind) -> BlockKind
Converts to this type from the input type.
§impl From<ExprOrCmpBlockKind> for BlockKind
impl From<ExprOrCmpBlockKind> for BlockKind
§fn from(value: ExprOrCmpBlockKind) -> BlockKind
fn from(value: ExprOrCmpBlockKind) -> BlockKind
Converts to this type from the input type.
§impl From<ProceduresDefinition> for BlockKind
impl From<ProceduresDefinition> for BlockKind
§fn from(value: ProceduresDefinition) -> BlockKind
fn from(value: ProceduresDefinition) -> BlockKind
Converts to this type from the input type.
§impl From<ProceduresPrototype> for BlockKind
impl From<ProceduresPrototype> for BlockKind
§fn from(value: ProceduresPrototype) -> BlockKind
fn from(value: ProceduresPrototype) -> BlockKind
Converts to this type from the input type.
§impl From<StmtBlockKind> for BlockKind
impl From<StmtBlockKind> for BlockKind
§fn from(value: StmtBlockKind) -> BlockKind
fn from(value: StmtBlockKind) -> BlockKind
Converts to this type from the input type.
impl StructuralPartialEq for BlockKind
Auto Trait Implementations§
impl !Send for BlockKind
impl !Sync for BlockKind
impl Freeze for BlockKind
impl RefUnwindSafe for BlockKind
impl Unpin for BlockKind
impl UnsafeUnpin for BlockKind
impl UnwindSafe for BlockKind
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