Struct gstreamer_app::app_src::AppSrcCallbacksBuilder
source · pub struct AppSrcCallbacksBuilder { /* private fields */ }
Implementations§
source§impl AppSrcCallbacksBuilder
impl AppSrcCallbacksBuilder
pub fn need_data<F: FnMut(&AppSrc, u32) + Send + 'static>( self, need_data: F ) -> Self
pub fn enough_data<F: Fn(&AppSrc) + Send + Sync + 'static>( self, enough_data: F ) -> Self
pub fn seek_data<F: Fn(&AppSrc, u64) -> bool + Send + Sync + 'static>( self, seek_data: F ) -> Self
pub fn build(self) -> AppSrcCallbacks
Auto Trait Implementations§
impl !RefUnwindSafe for AppSrcCallbacksBuilder
impl Send for AppSrcCallbacksBuilder
impl !Sync for AppSrcCallbacksBuilder
impl Unpin for AppSrcCallbacksBuilder
impl !UnwindSafe for AppSrcCallbacksBuilder
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