Struct media::GLPlayerThreads
source · pub struct GLPlayerThreads(pub(crate) GLPlayerSender<GLPlayerMsg>);
Expand description
GLPlayer Threading API entry point that lives in the constellation.
Tuple Fields§
§0: GLPlayerSender<GLPlayerMsg>
Implementations§
source§impl GLPlayerThreads
impl GLPlayerThreads
pub fn new( external_images: Arc<Mutex<WebrenderExternalImageRegistry>>, ) -> (GLPlayerThreads, Box<dyn WebrenderExternalImageApi>)
sourcepub fn pipeline(&self) -> GLPlayerPipeline
pub fn pipeline(&self) -> GLPlayerPipeline
Gets the GLPlayerThread handle for each script pipeline.
Auto Trait Implementations§
impl Freeze for GLPlayerThreads
impl !RefUnwindSafe for GLPlayerThreads
impl Send for GLPlayerThreads
impl !Sync for GLPlayerThreads
impl Unpin for GLPlayerThreads
impl UnwindSafe for GLPlayerThreads
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