#[repr(u8)]pub enum HyperSynthShape {
Saw = 0,
SoftSaw = 1,
DarkSaw = 2,
SquareSoft = 3,
Triangle = 4,
Sine = 5,
Sine3x = 6,
SineFb = 7,
SineFold = 8,
SineRing = 9,
SineHalf = 10,
SineOrgan = 11,
}Variants§
Saw = 0
SoftSaw = 1
DarkSaw = 2
SquareSoft = 3
Triangle = 4
Sine = 5
Sine3x = 6
SineFb = 7
SineFold = 8
SineRing = 9
SineHalf = 10
SineOrgan = 11
Trait Implementations§
Source§impl Clone for HyperSynthShape
impl Clone for HyperSynthShape
impl Copy for HyperSynthShape
Source§impl Debug for HyperSynthShape
impl Debug for HyperSynthShape
Source§impl Default for HyperSynthShape
impl Default for HyperSynthShape
Source§impl From<HyperSynthShape> for u8
impl From<HyperSynthShape> for u8
Source§fn from(enum_value: HyperSynthShape) -> Self
fn from(enum_value: HyperSynthShape) -> Self
Converts to this type from the input type.
Source§impl PartialEq for HyperSynthShape
impl PartialEq for HyperSynthShape
impl StructuralPartialEq for HyperSynthShape
Source§impl TryFrom<u8> for HyperSynthShape
impl TryFrom<u8> for HyperSynthShape
Source§type Error = TryFromPrimitiveError<HyperSynthShape>
type Error = TryFromPrimitiveError<HyperSynthShape>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for HyperSynthShape
impl TryFromPrimitive for HyperSynthShape
const NAME: &'static str = "HyperSynthShape"
type Primitive = u8
type Error = TryFromPrimitiveError<HyperSynthShape>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations§
impl Freeze for HyperSynthShape
impl RefUnwindSafe for HyperSynthShape
impl Send for HyperSynthShape
impl Sync for HyperSynthShape
impl Unpin for HyperSynthShape
impl UnsafeUnpin for HyperSynthShape
impl UnwindSafe for HyperSynthShape
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