pub enum EffectDto {
HCDistortion(HcDistortionDto),
SCDistortion(ScDistortionDto),
Delay(DelayDto),
Cabinet(CabinetDto),
}Expand description
A serialisable, tagged representation of any effect in the signal chain.
Uses serde’s adjacently-tagged format so that both the Rust serialisation and the TypeScript typegen agree on the wire shape:
Variants§
HCDistortion(HcDistortionDto)
Hard-clipping distortion effect.
SCDistortion(ScDistortionDto)
Soft-clipping distortion effect.
Delay(DelayDto)
Delay effect.
Cabinet(CabinetDto)
Placeholder impulse-response cabinet effect.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EffectDto
impl<'de> Deserialize<'de> for EffectDto
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for EffectDto
Auto Trait Implementations§
impl Freeze for EffectDto
impl RefUnwindSafe for EffectDto
impl Send for EffectDto
impl Sync for EffectDto
impl Unpin for EffectDto
impl UnsafeUnpin for EffectDto
impl UnwindSafe for EffectDto
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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