use crate::hal::layouts::{Backend, ScalarZnxOwned}; pub unsafe trait ScalarZnxFromBytesImpl { fn scalar_znx_from_bytes_impl(n: usize, cols: usize, bytes: Vec) -> ScalarZnxOwned; } pub unsafe trait ScalarZnxAllocBytesImpl { fn scalar_znx_alloc_bytes_impl(n: usize, cols: usize) -> usize; } pub unsafe trait ScalarZnxAllocImpl { fn scalar_znx_alloc_impl(n: usize, cols: usize) -> ScalarZnxOwned; }