Struct libpulse_tokio::MainInner
source · pub struct MainInner { /* private fields */ }
Expand description
The state structure passed to pulse.
Trait Implementations§
source§impl MainloopInnerType for MainInner
impl MainloopInnerType for MainInner
source§fn get_api_ptr(&self) -> *const MainloopApi
fn get_api_ptr(&self) -> *const MainloopApi
Return raw API object pointer. Read more
source§fn get_api(&self) -> &MainloopApi
fn get_api(&self) -> &MainloopApi
Return main loop API object pointer.
source§fn supports_rtclock(&self) -> bool
fn supports_rtclock(&self) -> bool
Returns
true
if the mainloop implementation supports monotonic based time events.source§unsafe fn new(
ptr: *mut Self::I,
api: *const MainloopApi,
dropfn: fn(_: &mut MainloopInner<Self::I>),
supports_rtclock: bool
) -> MainloopInner<Self::I>
unsafe fn new( ptr: *mut Self::I, api: *const MainloopApi, dropfn: fn(_: &mut MainloopInner<Self::I>), supports_rtclock: bool ) -> MainloopInner<Self::I>
Create a new instance
impl MainloopInternalType for MainInner
Auto Trait Implementations§
impl !RefUnwindSafe for MainInner
impl !Send for MainInner
impl !Sync for MainInner
impl !Unpin for MainInner
impl !UnwindSafe for MainInner
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