Struct pipewire::loop_::IdleSource
source · pub struct IdleSource<'l> { /* private fields */ }
Expand description
A source that can be used to have a callback called when the loop is idle.
This source can be obtained by calling add_idle
on a loop, registering a callback to it.
Implementations§
Trait Implementations§
source§impl<'l> Drop for IdleSource<'l>
impl<'l> Drop for IdleSource<'l>
source§impl<'l> IsSource for IdleSource<'l>
impl<'l> IsSource for IdleSource<'l>
source§fn as_ptr(&self) -> *mut spa_source
fn as_ptr(&self) -> *mut spa_source
Return a valid pointer to a raw
spa_source
.Auto Trait Implementations§
impl<'l> !RefUnwindSafe for IdleSource<'l>
impl<'l> !Send for IdleSource<'l>
impl<'l> !Sync for IdleSource<'l>
impl<'l> Unpin for IdleSource<'l>
impl<'l> !UnwindSafe for IdleSource<'l>
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