Commit dd5f83cd authored by SeongUk Cho's avatar SeongUk Cho
Browse files

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)]
pub struct PciHeader {
pub vendor_id: u16,
Supports Markdown
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