Trait GLVideo Frame Ext
Source pub trait GLVideoFrameExt: IsGLVideoFrame + VideoFrameExt {
// Provided methods
fn memory(&self, idx: u32) -> Result<&GLMemoryRef, BoolError> { ... }
fn texture_id(&self, idx: u32) -> Result<u32, BoolError> { ... }
fn texture_format(&self, idx: u32) -> Result<GLFormat, BoolError> { ... }
fn texture_height(&self, idx: u32) -> Result<i32, BoolError> { ... }
fn texture_target(&self, idx: u32) -> Result<GLTextureTarget, BoolError> { ... }
fn texture_width(&self, idx: u32) -> Result<i32, BoolError> { ... }
}Provided Methods§
fn memory(&self, idx: u32) -> Result<&GLMemoryRef, BoolError>
fn texture_id(&self, idx: u32) -> Result<u32, BoolError>
fn texture_format(&self, idx: u32) -> Result<GLFormat, BoolError>
fn texture_height(&self, idx: u32) -> Result<i32, BoolError>
fn texture_target(&self, idx: u32) -> Result<GLTextureTarget, BoolError>
fn texture_width(&self, idx: u32) -> Result<i32, BoolError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".