Skip to main content

write

Function write 

Source
pub fn write<'a>(
    path: &Path,
    sample_ty: &str,
    layout: &Layout,
    samples: impl IntoIterator<Item = &'a Value>,
) -> Result<u64>
Expand description

Writes a .psk.d file: sample_ty is the header text, layout its leaf structure (needed for params M, whose layout the text does not give).