Skip to content

Commit efe0e76

Browse files
authored
#[derive(Debug)] all the things (#468)
This commit implements Debug trait for most public structs.
1 parent 2a9e2e6 commit efe0e76

19 files changed

+187
-20
lines changed

src/array_buffer.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ extern "C" {
100100
/// namespace array_buffer, which will contain only the Allocator we opt in Rust
101101
/// to allow it to live in the top level: v8::Allocator
102102
#[repr(C)]
103+
#[derive(Debug)]
103104
pub struct Allocator(Opaque);
104105

105106
impl Shared for Allocator {
@@ -169,6 +170,7 @@ pub unsafe extern "C" fn backing_store_deleter_callback(
169170
/// default. Use Isolate::CreateParams::array_buffer_allocator_shared when
170171
/// creating the Isolate to make it hold a reference to the allocator itself.
171172
#[repr(C)]
173+
#[derive(Debug)]
172174
pub struct BackingStore([usize; 6]);
173175

174176
unsafe impl Send for BackingStore {}

0 commit comments

Comments
 (0)