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§