Skip to main content

distinct

Function distinct 

Source
pub fn distinct(renders: &[Rendered]) -> Result<(), SpreadError>
Expand description

Checks that no two renders hold the same samples, by the SHA-256 of each render’s sample rate and samples.

§Errors

Returns SpreadError::Repeated when a render repeats another.