Struct vst3::Steinberg::IPlugViewVtbl
source · #[repr(C)]pub struct IPlugViewVtbl {Show 13 fields
pub base: FUnknownVtbl,
pub isPlatformTypeSupported: unsafe extern "system" fn(this: *mut IPlugView, type: FIDString) -> tresult,
pub attached: unsafe extern "system" fn(this: *mut IPlugView, parent: *mut c_void, type: FIDString) -> tresult,
pub removed: unsafe extern "system" fn(this: *mut IPlugView) -> tresult,
pub onWheel: unsafe extern "system" fn(this: *mut IPlugView, distance: f32) -> tresult,
pub onKeyDown: unsafe extern "system" fn(this: *mut IPlugView, key: char16, keyCode: int16, modifiers: int16) -> tresult,
pub onKeyUp: unsafe extern "system" fn(this: *mut IPlugView, key: char16, keyCode: int16, modifiers: int16) -> tresult,
pub getSize: unsafe extern "system" fn(this: *mut IPlugView, size: *mut ViewRect) -> tresult,
pub onSize: unsafe extern "system" fn(this: *mut IPlugView, newSize: *mut ViewRect) -> tresult,
pub onFocus: unsafe extern "system" fn(this: *mut IPlugView, state: TBool) -> tresult,
pub setFrame: unsafe extern "system" fn(this: *mut IPlugView, frame: *mut IPlugFrame) -> tresult,
pub canResize: unsafe extern "system" fn(this: *mut IPlugView) -> tresult,
pub checkSizeConstraint: unsafe extern "system" fn(this: *mut IPlugView, rect: *mut ViewRect) -> tresult,
}
Fields§
§base: FUnknownVtbl
§isPlatformTypeSupported: unsafe extern "system" fn(this: *mut IPlugView, type: FIDString) -> tresult
§attached: unsafe extern "system" fn(this: *mut IPlugView, parent: *mut c_void, type: FIDString) -> tresult
§removed: unsafe extern "system" fn(this: *mut IPlugView) -> tresult
§onWheel: unsafe extern "system" fn(this: *mut IPlugView, distance: f32) -> tresult
§onKeyDown: unsafe extern "system" fn(this: *mut IPlugView, key: char16, keyCode: int16, modifiers: int16) -> tresult
§onKeyUp: unsafe extern "system" fn(this: *mut IPlugView, key: char16, keyCode: int16, modifiers: int16) -> tresult
§getSize: unsafe extern "system" fn(this: *mut IPlugView, size: *mut ViewRect) -> tresult
§onSize: unsafe extern "system" fn(this: *mut IPlugView, newSize: *mut ViewRect) -> tresult
§onFocus: unsafe extern "system" fn(this: *mut IPlugView, state: TBool) -> tresult
§setFrame: unsafe extern "system" fn(this: *mut IPlugView, frame: *mut IPlugFrame) -> tresult
§canResize: unsafe extern "system" fn(this: *mut IPlugView) -> tresult
§checkSizeConstraint: unsafe extern "system" fn(this: *mut IPlugView, rect: *mut ViewRect) -> tresult
Trait Implementations§
source§impl Clone for IPlugViewVtbl
impl Clone for IPlugViewVtbl
source§fn clone(&self) -> IPlugViewVtbl
fn clone(&self) -> IPlugViewVtbl
Returns a copy 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 moreimpl Copy for IPlugViewVtbl
Auto Trait Implementations§
impl RefUnwindSafe for IPlugViewVtbl
impl Send for IPlugViewVtbl
impl Sync for IPlugViewVtbl
impl Unpin for IPlugViewVtbl
impl UnwindSafe for IPlugViewVtbl
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