CustomTransform

Trait CustomTransform 

Source
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§

Source

const TYPE: TransformType

Source

const NAME: &'static str

Source

const GROUP: &'static str

Provided Associated Constants§

Source

const LONG_NAME: &'static str = Self::NAME

Source

const PARAMETERS: &'static [TransformParameterInfo] = _

Required Methods§

Source

fn decode( &self, input: &[u8], params: &TransformInputParameters, ) -> Option<DataBuffer>

Source

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.

Implementors§