pub struct LinuxFrameStream {
pub native: NativeSession,
/* private fields */
}Expand description
At most one queued import/conversion. A native latest slot plus appsink’s one queued sample are separate bounded producer slots; driver pools are opaque.
Fields§
§native: NativeSessionImplementations§
Source§impl LinuxFrameStream
impl LinuxFrameStream
pub fn new( native: NativeSession, producer: NativeGlFrameProducer, source: u64, generation: u64, ) -> Self
pub fn retire(&self, epoch: u64)
pub fn has_pending_frame_work(&self) -> bool
pub fn take_frame(&self) -> Result<Option<FrameLease>, MediaError>
Auto Trait Implementations§
impl !Freeze for LinuxFrameStream
impl !RefUnwindSafe for LinuxFrameStream
impl !Send for LinuxFrameStream
impl !Sync for LinuxFrameStream
impl !UnwindSafe for LinuxFrameStream
impl Forget for LinuxFrameStream
impl Move for LinuxFrameStream
impl Unpin for LinuxFrameStream
impl UnsafeUnpin for LinuxFrameStream
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more