pub unsafe trait CustomBinaryView:
'static
+ BinaryViewBase
+ Sync
+ Sized {
type Args: Send;
// Required methods
fn new(handle: &BinaryView, args: &Self::Args) -> Result<Self>;
fn init(&mut self, args: Self::Args) -> Result<()>;
}Required Associated Types§
Required Methods§
fn new(handle: &BinaryView, args: &Self::Args) -> Result<Self>
fn init(&mut self, args: Self::Args) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.