You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 1, 2024. It is now read-only.
As of at least Rust 1.70, view-ser.rs fails to compile because of methods in header vs fields.
I have a fix I tried to create a PR for, but do not have permission to do so.
--- a/examples/view-ser.rs
+++ b/examples/view-ser.rs
@@ -40,9 +40,9 @@ fn main() -> Result<()> {
header.image_width, header.image_height
);
println!("Frame count: {}", header.frame_count);
println!("Pixel depth per plane: {}", header.pixel_depth_per_plane);
println!("Bayer: {:?}", header.bayer);
println!("Endianness: {:?}", header.endianness);