Commit dd5f83cd authored by SeongUk Cho's avatar SeongUk Cho

solved error: #[derive] can't be used on a non-Copy #[repr(packed)] struct (error E0133)

parent 2e07aab6
use std::ops::{Deref, DerefMut};
use std::{slice, mem};
#[derive(Debug, Default)]
#[derive(Default)]
#[repr(packed)]
pub struct PciHeader {
pub vendor_id: u16,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment