Struct libpulse_binding::mainloop::events::io::IoEventRef
source · pub struct IoEventRef<T: 'static>where
T: MainloopInnerType,{ /* private fields */ }Expand description
A reference to an IO event source, provided to the callback, allowing modification within the callback itself
Implementations
sourceimpl<T> IoEventRef<T>where
T: MainloopInnerType,
impl<T> IoEventRef<T>where
T: MainloopInnerType,
sourcepub fn enable(&mut self, events: IoEventFlagSet)
pub fn enable(&mut self, events: IoEventFlagSet)
Enable or disable IO events on this object.
Auto Trait Implementations
impl<T> RefUnwindSafe for IoEventRef<T>where
T: RefUnwindSafe,
impl<T> !Send for IoEventRef<T>
impl<T> !Sync for IoEventRef<T>
impl<T> Unpin for IoEventRef<T>
impl<T> UnwindSafe for IoEventRef<T>where
T: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more