Skip to main content

encode_exact

Function encode_exact 

Source
pub fn encode_exact(px: &[u8], dims: Dims) -> Option<Vec<u8>>
Expand description

Whole-frame generative candidate: an exact rule => Some(file_bytes) else None (the pick treats None as “arm not available for this image”).