Skip to main content

Mojo struct

DecodeSProducer

@register_passable(trivial) struct DecodeSProducer

Fields

  • pipe (ProducerPipeline[2]):

Implemented traits

AnyType, Copyable, ImplicitlyCopyable, ImplicitlyDestructible, Movable

comptime members

__copyinit__is_trivial

comptime __copyinit__is_trivial = True

__del__is_trivial

comptime __del__is_trivial = True

__moveinit__is_trivial

comptime __moveinit__is_trivial = True

SNumStages

comptime SNumStages = 2

Methods

__init__

__init__(pipe: ProducerPipeline[2]) -> Self

acquire

acquire(self)

slot_index

slot_index(self) -> UInt32

Returns:

UInt32

commit_mma

commit_mma(mut self, elect: Int32)

Was this page helpful?