servo_media_gstreamer::media_capture

Trait AddToCaps

source
trait AddToCaps {
    type Bound;

    // Required method
    fn add_to_caps(
        &self,
        name: &str,
        min: Self::Bound,
        max: Self::Bound,
        builder: Builder<NoFeature>,
    ) -> Option<Builder<NoFeature>>;
}

Required Associated Types§

Required Methods§

source

fn add_to_caps( &self, name: &str, min: Self::Bound, max: Self::Bound, builder: Builder<NoFeature>, ) -> Option<Builder<NoFeature>>

Implementations on Foreign Types§

source§

impl AddToCaps for Constrain<f64>

source§

type Bound = i32

source§

fn add_to_caps<'a>( &self, name: &str, min: i32, max: i32, builder: Builder<NoFeature>, ) -> Option<Builder<NoFeature>>

source§

impl AddToCaps for Constrain<u32>

source§

type Bound = u32

source§

fn add_to_caps( &self, name: &str, min: u32, max: u32, builder: Builder<NoFeature>, ) -> Option<Builder<NoFeature>>

Implementors§