pub trait CustomBinaryViewType: 'static + BinaryViewTypeBase + Sync {
    // Required method
    fn create_custom_view<'builder>(
        &self,
        data: &BinaryView,
        builder: CustomViewBuilder<'builder, Self>
    ) -> Result<CustomView<'builder>>;

    // Provided method
    fn parse_custom_view<'builder>(
        &self,
        data: &BinaryView,
        builder: CustomViewBuilder<'builder, Self>
    ) -> Result<CustomView<'builder>> { ... }
}

Required Methods§

source

fn create_custom_view<'builder>( &self, data: &BinaryView, builder: CustomViewBuilder<'builder, Self> ) -> Result<CustomView<'builder>>

Provided Methods§

source

fn parse_custom_view<'builder>( &self, data: &BinaryView, builder: CustomViewBuilder<'builder, Self> ) -> Result<CustomView<'builder>>

Object Safety§

This trait is not object safe.

Implementors§