You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: images_tests.rs
    path of file: ./repos/fast_image_resize/tests
    
    the code of the file until where you have to start completion: use fast_image_resize as fr;
use fast_ima
    
fn create_image_view_from_big_buffer() {
    let width = nonzero(64);
    let height = nonzero(32);
    let mut buffer = vec![0; 65 * 32];

    let res = fr::ImageViewMut::<U8>::from_buffer(width, height, &mut buffer);
    assert!(res.is_ok());

    let res = fr::ImageView::<U8>::from_buffer(width, height, &buffer);
    assert!(res.is_ok());
}