pub trait UriSourceAssetExt:
    IsA<UriSourceAsset>
    + Sealed
    + 'static {
    // Provided methods
    fn filesource_asset(&self) -> UriClipAsset { ... }
    fn stream_info(&self) -> DiscovererStreamInfo { ... }
    fn stream_uri(&self) -> GString { ... }
    fn is_image(&self) -> bool { ... }
}
Expand description

Trait containing all UriSourceAsset methods.

§Implementors

UriSourceAsset

Provided Methods§

source

fn filesource_asset(&self) -> UriClipAsset

Get the UriClipAsset self_ is contained in

§Returns

a UriClipAsset

source

fn stream_info(&self) -> DiscovererStreamInfo

Get the gst_pbutils::DiscovererStreamInfo user by self

§Returns

a UriClipAsset

source

fn stream_uri(&self) -> GString

source

fn is_image(&self) -> bool

Check if self contains a single image

§Returns

true if the video stream corresponds to an image (i.e. only contains one frame)

Object Safety§

This trait is not object safe.

Implementors§