Skip to main content

Mojo struct

DecodePProducer

@register_passable(trivial) struct DecodePProducer

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

PNumStages

comptime PNumStages = 2

Methods

__init__

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

acquire

acquire(self)

commit

commit(mut self)

stage_index

stage_index(self) -> UInt32

Returns:

UInt32

Was this page helpful?