Skip to main content

Mojo struct

DecodePProducerN

@register_passable(trivial) struct DecodePProducerN[num_stages: Int]

Fields

  • pipe (RolePipeline[num_stages]):

Implemented traits

AnyType, Copyable, ImplicitlyCopyable, ImplicitlyDestructible, Movable, RegisterPassable, TrivialRegisterPassable

comptime members

__copy_ctor_is_trivial

comptime __copy_ctor_is_trivial = True

__del__is_trivial

comptime __del__is_trivial = True

__move_ctor_is_trivial

comptime __move_ctor_is_trivial = True

Methods

__init__

__init__(pipe: RolePipeline[num_stages]) -> Self

acquire

acquire(self)

commit

commit(mut self)

stage_index

stage_index(self) -> UInt32

Returns:

UInt32

Was this page helpful?