pub struct MainLoop(/* private fields */);Expand description
Transparent wrapper around a main loop.
This does not own the underlying object and is usually seen behind a & reference.
For owning wrappers that can construct main loops, see MainLoopBox and MainLoopRc.
For an explanation of these, see Smart pointers to PipeWire objects.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MainLoop
impl RefUnwindSafe for MainLoop
impl Send for MainLoop
impl Sync for MainLoop
impl Unpin for MainLoop
impl UnwindSafe for MainLoop
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