PTWM
transforms

ptwm_core::transforms::byte_passthrough

BytePassthrough op — identity transform that passes one plane unchanged.

ptwm_core::transforms::byte_passthrough

BytePassthrough op — identity transform that passes one plane unchanged.

rsmod

ptwm_core::transforms::byte_passthrough

crates/ptwm-core/src/transforms/byte_passthrough.rs:1
mod byte_passthrough

`BytePassthrough` op — identity transform that passes one plane unchanged.

rstype

ptwm_core::transforms::byte_passthrough::BytePassthrough

crates/ptwm-core/src/transforms/byte_passthrough.rs:13
pub struct BytePassthrough;

`BytePassthrough` is the identity op. It requires exactly one input plane and returns it unchanged on both `forward` and `inverse`. No parameters.

Chain authors use this op to explicitly signal "no transform here" while still allowing a `role_override` on the outgoing edge to retag the plane's role for downstream codec dispatch.