#[non_exhaustive]pub struct OpenGLOwnedTextureFrame {
pub generation: u64,
pub width: u32,
pub height: u32,
pub scale_factor: f64,
pub frame_id: u64,
pub target: u32,
pub internal_format: u32,
pub format: u32,
pub type_: u32,
}Expand description
Copied metadata for an acquired OpenGL session-owned texture frame.
The texture object name is exposed by OpenGLOwnedTextureFrameHandle so
its lifetime stays tied to the open frame handle.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.generation: u64§width: u32§height: u32§scale_factor: f64§frame_id: u64§target: u32§internal_format: u32§format: u32§type_: u32Trait Implementations§
Source§impl Clone for OpenGLOwnedTextureFrame
impl Clone for OpenGLOwnedTextureFrame
Source§fn clone(&self) -> OpenGLOwnedTextureFrame
fn clone(&self) -> OpenGLOwnedTextureFrame
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OpenGLOwnedTextureFrame
impl Debug for OpenGLOwnedTextureFrame
Source§impl PartialEq for OpenGLOwnedTextureFrame
impl PartialEq for OpenGLOwnedTextureFrame
impl Copy for OpenGLOwnedTextureFrame
impl StructuralPartialEq for OpenGLOwnedTextureFrame
Auto Trait Implementations§
impl Freeze for OpenGLOwnedTextureFrame
impl RefUnwindSafe for OpenGLOwnedTextureFrame
impl Send for OpenGLOwnedTextureFrame
impl Sync for OpenGLOwnedTextureFrame
impl Unpin for OpenGLOwnedTextureFrame
impl UnsafeUnpin for OpenGLOwnedTextureFrame
impl UnwindSafe for OpenGLOwnedTextureFrame
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more