Skip to main content

Mojo struct

DecodeCProducer

@register_passable(trivial) struct DecodeCProducer

Fields

  • pipe (ProducerPipeline[1]):

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

CNumStages

comptime CNumStages = 1

Methods

__init__

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

acquire

acquire(self)

commit

commit(mut self)

Was this page helpful?