diff --git a/frb_rust/src/rust_opaque/mod.rs b/frb_rust/src/rust_opaque/mod.rs index 99748a5181..8063d72274 100644 --- a/frb_rust/src/rust_opaque/mod.rs +++ b/frb_rust/src/rust_opaque/mod.rs @@ -7,7 +7,7 @@ use std::marker::PhantomData; /// Please refer to [RustOpaque] for doc. #[repr(transparent)] -#[derive(Debug)] +#[derive(PartialEq, Eq, Default, Debug)] pub struct RustOpaqueBase> { arc: A, _phantom: PhantomData,