pub trait VideoExt:
IsA<Video>
+ Sealed
+ 'static {
// Provided methods
fn codec_kind(&self) -> VideoCodecKind { ... }
fn container_kind(&self) -> VideoContainerKind { ... }
fn height(&self) -> u32 { ... }
fn locale(&self) -> Option<GString> { ... }
fn url(&self) -> Option<GString> { ... }
fn width(&self) -> u32 { ... }
fn set_codec_kind(&self, kind: VideoCodecKind) { ... }
fn set_container_kind(&self, kind: VideoContainerKind) { ... }
fn set_height(&self, height: u32) { ... }
fn set_locale(&self, locale: &str) { ... }
fn set_url(&self, url: &str) { ... }
fn set_width(&self, width: u32) { ... }
}
Provided Methods§
sourcefn codec_kind(&self) -> VideoCodecKind
fn codec_kind(&self) -> VideoCodecKind
sourcefn container_kind(&self) -> VideoContainerKind
fn container_kind(&self) -> VideoContainerKind
sourcefn url(&self) -> Option<GString>
fn url(&self) -> Option<GString>
Gets the full qualified URL for the video, usually pointing at a mirror or CDN server.
§Returns
a web URL
sourcefn set_codec_kind(&self, kind: VideoCodecKind)
fn set_codec_kind(&self, kind: VideoCodecKind)
sourcefn set_container_kind(&self, kind: VideoContainerKind)
fn set_container_kind(&self, kind: VideoContainerKind)
sourcefn set_height(&self, height: u32)
fn set_height(&self, height: u32)
sourcefn set_locale(&self, locale: &str)
fn set_locale(&self, locale: &str)
Object Safety§
This trait is not object safe.