#[repr(transparent)]pub struct ParamId(pub u32);Expand description
Unique identifier for each parameter.
This wraps a u32 ID for maximum flexibility. Plugin-specific parameter
enums can convert to this type via Into<ParamId>.
Tuple Fields§
§0: u32Trait Implementations§
Source§impl From<WavecraftParamId> for ParamId
impl From<WavecraftParamId> for ParamId
Source§fn from(id: WavecraftParamId) -> ParamId
fn from(id: WavecraftParamId) -> ParamId
Converts to this type from the input type.
impl Copy for ParamId
impl Eq for ParamId
impl StructuralPartialEq for ParamId
Auto Trait Implementations§
impl Freeze for ParamId
impl RefUnwindSafe for ParamId
impl Send for ParamId
impl Sync for ParamId
impl Unpin for ParamId
impl UnwindSafe for ParamId
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