[−][src]Struct lv2_sys::LV2UI_Idle_Interface
UI Idle Interface (LV2_UI__idleInterface)
UIs can provide this interface to have an idle() callback called by the host rapidly to update the UI.
Fields
idle: Option<unsafe extern "C" fn(ui: LV2UI_Handle) -> c_int>
Run a single iteration of the UI's idle loop.
This will be called rapidly in the UI thread at a rate appropriate for a toolkit main loop. There are no precise timing guarantees, but the host should attempt to call idle() at a high enough rate for smooth animation, at least 30Hz.
@return non-zero if the UI has been closed, in which case the host should stop calling idle(), and can either completely destroy the UI, or re-show it and resume calling idle().
Trait Implementations
impl Clone for LV2UI_Idle_Interface
[src]
fn clone(&self) -> LV2UI_Idle_Interface
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for LV2UI_Idle_Interface
[src]
impl Debug for LV2UI_Idle_Interface
[src]
Auto Trait Implementations
impl RefUnwindSafe for LV2UI_Idle_Interface
impl Send for LV2UI_Idle_Interface
impl Sync for LV2UI_Idle_Interface
impl Unpin for LV2UI_Idle_Interface
impl UnwindSafe for LV2UI_Idle_Interface
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,