#[repr(C)]pub struct LV2UI_Touch {
pub handle: LV2UI_Feature_Handle,
pub touch: Option<unsafe extern "C" fn(handle: LV2UI_Feature_Handle, port_index: u32, grabbed: bool)>,
}Expand description
A feature to notify the host that the user has grabbed a UI control.
Fields§
§handle: LV2UI_Feature_HandlePointer to opaque data which must be passed to ui_resize().
touch: Option<unsafe extern "C" fn(handle: LV2UI_Feature_Handle, port_index: u32, grabbed: bool)>Notify the host that a control has been grabbed or released.
The host should cease automating the port or otherwise manipulating the port value until the control has been ungrabbed.
@param handle The handle field of this struct. @param port_index The index of the port associated with the control. @param grabbed If true, the control has been grabbed, otherwise the control has been released.
Trait Implementations§
Source§impl Clone for LV2UI_Touch
impl Clone for LV2UI_Touch
Source§fn clone(&self) -> LV2UI_Touch
fn clone(&self) -> LV2UI_Touch
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LV2UI_Touch
impl Debug for LV2UI_Touch
impl Copy for LV2UI_Touch
Auto Trait Implementations§
impl Freeze for LV2UI_Touch
impl RefUnwindSafe for LV2UI_Touch
impl !Send for LV2UI_Touch
impl !Sync for LV2UI_Touch
impl Unpin for LV2UI_Touch
impl UnwindSafe for LV2UI_Touch
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