[][src]Trait gstreamer::subclass::prelude::BoxedType

pub trait BoxedType: 'static + Clone {
    const NAME: &'static str;

    fn get_type() -> Type;
}

Trait for defining boxed types.

Links together the type name with the type itself.

See register_boxed_type for registering an implementation of this trait with the type system.

Associated Constants

const NAME: &'static str

Boxed type name.

This must be unique in the whole process.

Loading content...

Required methods

fn get_type() -> Type

Returns the type ID.

This is usually defined via the glib_boxed_type! macro.

Loading content...

Implementors

Loading content...