Trait gstreamer_editing_services::prelude::UriClipExt

source ·
pub trait UriClipExt:
    IsA<UriClip>
    + Sealed
    + 'static {
    // Provided methods
    fn uri(&self) -> GString { ... }
    fn is_image(&self) -> bool { ... }
    fn is_muted(&self) -> bool { ... }
    fn set_is_image(&self, is_image: bool) { ... }
    fn set_mute(&self, mute: bool) { ... }
    fn connect_is_image_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_mute_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}
Expand description

Trait containing all UriClip methods.

§Implementors

UriClip

Provided Methods§

source

fn uri(&self) -> GString

Get the location of the resource.

§Returns

The location of the resource.

source

fn is_image(&self) -> bool

Lets you know if self is an image or not.

§Returns

true if self is a still image false otherwise.

source

fn is_muted(&self) -> bool

Lets you know if the audio track of self is muted or not.

§Returns

true if the audio track of self is muted, false otherwise.

source

fn set_is_image(&self, is_image: bool)

Sets whether the clip is a still image or not.

§is_image

true if self is a still image, false otherwise

source

fn set_mute(&self, mute: bool)

Sets whether the audio track of this clip is muted or not.

§mute

true to mute self audio track, false to unmute it

source

fn connect_is_image_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_mute_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

Object Safety§

This trait is not object safe.

Implementors§