[−][src]Trait libpulse_binding::mainloop::api::MainloopInnerType
This enables generic type enforcement with MainloopInner objects, and describes mandatory accessors for the internal pointers, allowing access to these pointers across the generic implementations to work.
Associated Types
type I: MainloopInternalType
[src]
Internal mainloop type.
Required methods
pub fn get_ptr(&self) -> *mut Self::I
[src]
Return opaque main loop object pointer.
pub fn get_api(&self) -> &MainloopApi
[src]
Return main loop API object pointer.
pub fn supports_rtclock(&self) -> bool
[src]
Returns true
if the mainloop implementation supports monotonic based time events.
Implementors
impl<T> MainloopInnerType for MainloopInner<T> where
T: MainloopInternalType,
[src]
T: MainloopInternalType,
This is the actual implementation of the ‘inner type’ trait.
It is not possible to replace this with ‘default’ method implementations within the trait itself since the trait does not know about the existence of the struct attributes being accessed.
type I = T
pub fn get_ptr(&self) -> *mut T
[src]
Gets opaque main loop object pointer.
pub fn get_api(&self) -> &MainloopApi
[src]
Gets main loop API object pointer.