pub trait CustomTransform {
const TYPE: TransformType;
const NAME: &'static str;
const GROUP: &'static str;
const LONG_NAME: &'static str = Self::NAME;
const PARAMETERS: &'static [TransformParameterInfo] = _;
// Required methods
fn decode(
&self,
input: &[u8],
params: &TransformInputParameters,
) -> Option<DataBuffer>;
fn encode(
&self,
input: &[u8],
params: &TransformInputParameters,
) -> Option<DataBuffer>;
}Required Associated Constants§
Provided Associated Constants§
const LONG_NAME: &'static str = Self::NAME
const PARAMETERS: &'static [TransformParameterInfo] = _
Required Methods§
fn decode( &self, input: &[u8], params: &TransformInputParameters, ) -> Option<DataBuffer>
fn encode( &self, input: &[u8], params: &TransformInputParameters, ) -> Option<DataBuffer>
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.