Struct vst_window::EventSource
source · [−]pub struct EventSource(_);
Expand description
Source of events from a corresponding window, created by the setup
function.
Implementations
sourceimpl EventSource
impl EventSource
sourcepub fn poll_event(&self) -> Option<WindowEvent>
pub fn poll_event(&self) -> Option<WindowEvent>
Returns the next WindowEvent
, if one is available. This should be called in a while let
loop until empty.
Auto Trait Implementations
impl RefUnwindSafe for EventSource
impl !Send for EventSource
impl !Sync for EventSource
impl Unpin for EventSource
impl UnwindSafe for EventSource
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more