Skip to main content

sample_offsets

Function sample_offsets 

Source
pub fn sample_offsets(
    shutter: Duration,
    samples: u32,
) -> Result<Vec<TimeOffset>, ValidationError>
Expand description

Centered integer midpoint offsets, nearest-tick ties away from zero.