Trait gstreamer_editing_services::prelude::UriClipExt[][src]

pub trait UriClipExt: 'static {
    fn uri(&self) -> Option<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;
fn connect_supported_formats_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }
Expand description

Trait containing all UriClip methods.

Implementors

UriClip

Required methods

Get the location of the resource.

Returns

The location of the resource.

Lets you know if self is an image or not.

Returns

true if self is a still image false otherwise.

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.

Sets whether the clip is a still image or not.

is_image

true if self is a still image, false otherwise

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

mute

true to mute self audio track, false to unmute it

Implementors