vtable add support for field offset in the vtable

This commit is contained in:
Olivier Goffart 2020-05-16 23:47:30 +02:00
parent 751a3fbe59
commit 5a9cbaae66
7 changed files with 100 additions and 46 deletions

View file

@ -1,3 +1,4 @@
pub use const_field_offset::FieldOffset;
use core::marker::PhantomData;
use core::ops::{Deref, DerefMut, Drop};
use core::ptr::NonNull;