Struct vst3::Steinberg::Vst::IUnitInfoVtbl
source · #[repr(C)]pub struct IUnitInfoVtbl {Show 13 fields
pub base: FUnknownVtbl,
pub getUnitCount: unsafe extern "system" fn(this: *mut IUnitInfo) -> int32,
pub getUnitInfo: unsafe extern "system" fn(this: *mut IUnitInfo, unitIndex: int32, info: *mut UnitInfo) -> tresult,
pub getProgramListCount: unsafe extern "system" fn(this: *mut IUnitInfo) -> int32,
pub getProgramListInfo: unsafe extern "system" fn(this: *mut IUnitInfo, listIndex: int32, info: *mut ProgramListInfo) -> tresult,
pub getProgramName: unsafe extern "system" fn(this: *mut IUnitInfo, listId: ProgramListID, programIndex: int32, name: *mut String128) -> tresult,
pub getProgramInfo: unsafe extern "system" fn(this: *mut IUnitInfo, listId: ProgramListID, programIndex: int32, attributeId: CString, attributeValue: *mut String128) -> tresult,
pub hasProgramPitchNames: unsafe extern "system" fn(this: *mut IUnitInfo, listId: ProgramListID, programIndex: int32) -> tresult,
pub getProgramPitchName: unsafe extern "system" fn(this: *mut IUnitInfo, listId: ProgramListID, programIndex: int32, midiPitch: int16, name: *mut String128) -> tresult,
pub getSelectedUnit: unsafe extern "system" fn(this: *mut IUnitInfo) -> UnitID,
pub selectUnit: unsafe extern "system" fn(this: *mut IUnitInfo, unitId: UnitID) -> tresult,
pub getUnitByBus: unsafe extern "system" fn(this: *mut IUnitInfo, type: MediaType, dir: BusDirection, busIndex: int32, channel: int32, unitId: *mut UnitID) -> tresult,
pub setUnitProgramData: unsafe extern "system" fn(this: *mut IUnitInfo, listOrUnitId: int32, programIndex: int32, data: *mut IBStream) -> tresult,
}
Fields§
§base: FUnknownVtbl
§getUnitCount: unsafe extern "system" fn(this: *mut IUnitInfo) -> int32
§getUnitInfo: unsafe extern "system" fn(this: *mut IUnitInfo, unitIndex: int32, info: *mut UnitInfo) -> tresult
§getProgramListCount: unsafe extern "system" fn(this: *mut IUnitInfo) -> int32
§getProgramListInfo: unsafe extern "system" fn(this: *mut IUnitInfo, listIndex: int32, info: *mut ProgramListInfo) -> tresult
§getProgramName: unsafe extern "system" fn(this: *mut IUnitInfo, listId: ProgramListID, programIndex: int32, name: *mut String128) -> tresult
§getProgramInfo: unsafe extern "system" fn(this: *mut IUnitInfo, listId: ProgramListID, programIndex: int32, attributeId: CString, attributeValue: *mut String128) -> tresult
§hasProgramPitchNames: unsafe extern "system" fn(this: *mut IUnitInfo, listId: ProgramListID, programIndex: int32) -> tresult
§getProgramPitchName: unsafe extern "system" fn(this: *mut IUnitInfo, listId: ProgramListID, programIndex: int32, midiPitch: int16, name: *mut String128) -> tresult
§getSelectedUnit: unsafe extern "system" fn(this: *mut IUnitInfo) -> UnitID
§selectUnit: unsafe extern "system" fn(this: *mut IUnitInfo, unitId: UnitID) -> tresult
§getUnitByBus: unsafe extern "system" fn(this: *mut IUnitInfo, type: MediaType, dir: BusDirection, busIndex: int32, channel: int32, unitId: *mut UnitID) -> tresult
§setUnitProgramData: unsafe extern "system" fn(this: *mut IUnitInfo, listOrUnitId: int32, programIndex: int32, data: *mut IBStream) -> tresult
Trait Implementations§
source§impl Clone for IUnitInfoVtbl
impl Clone for IUnitInfoVtbl
source§fn clone(&self) -> IUnitInfoVtbl
fn clone(&self) -> IUnitInfoVtbl
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 IUnitInfoVtbl
Auto Trait Implementations§
impl RefUnwindSafe for IUnitInfoVtbl
impl Send for IUnitInfoVtbl
impl Sync for IUnitInfoVtbl
impl Unpin for IUnitInfoVtbl
impl UnwindSafe for IUnitInfoVtbl
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