Function asset_preview

Source
fn asset_preview(
    ui: &mut Ui,
    state: &mut LibraryState,
    project: &Project,
    id: u64,
    thumbs: &mut Option<&mut ThumbCache>,
    live: Option<&PreviewFrame>,
    labels: &Vec<(String, [u8; 3])>,
    palette: &Palette,
    resp: &mut LibraryResponse,
    ops: &mut Vec<LibOp>,
    op_start: &mut bool,
)