pub struct UnitInfo {
pub id: UnitId,
pub name: &'static str,
pub parent_id: UnitId,
}Expand description
Information about a parameter group (VST3 Unit).
Units form a tree structure via parent_id references:
- Root unit (id=0, parent=0) always exists implicitly
- Top-level groups have parent_id=0
- Nested groups reference their parent’s unit_id
Fields§
§id: UnitIdUnique unit identifier.
name: &'static strDisplay name shown in DAW (e.g., “Filter”, “Amp Envelope”).
parent_id: UnitIdParent unit ID (ROOT_UNIT_ID for top-level groups).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UnitInfo
impl RefUnwindSafe for UnitInfo
impl Send for UnitInfo
impl Sync for UnitInfo
impl Unpin for UnitInfo
impl UnwindSafe for UnitInfo
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