pub struct VideoSurface {
state: Rc<RefCell<SurfaceState>>,
widget: Box,
handlers: Vec<SignalHandlerId>,
}Expand description
A live video surface. Dropping it tears the render context down.
Fields§
§state: Rc<RefCell<SurfaceState>>§widget: Box§handlers: Vec<SignalHandlerId>Trait Implementations§
Source§impl Drop for VideoSurface
impl Drop for VideoSurface
Auto Trait Implementations§
impl Freeze for VideoSurface
impl !RefUnwindSafe for VideoSurface
impl !Send for VideoSurface
impl !Sync for VideoSurface
impl Unpin for VideoSurface
impl UnsafeUnpin for VideoSurface
impl !UnwindSafe for VideoSurface
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