pub enum Variant {
    Monoscale,
    Multiscale(f64Handedness),
}
Expand description

Whether to output a traditional Monoscale style neck with the same scale across it’s entire width, or a modern Multiscale neck, with a shorter scale along the treble side, also known as fan fret.

Variants

Monoscale

A traditional fretbaord where the same scale length is used all of the way across the fretboard.

Multiscale(f64Handedness)

Tuple Fields

0: f64

The scale length along the treble side of the neck

1: Handedness

Right or left handed output

A modern style of neck where there is a longer scale length along the bass side of the neck and a shorter scale along the treble side of the neck, allowing for more natural string tension, greater flexibility in tuning, and better ergonomics.

Implementations

Return the treble side scale length if the neck is Multiscale, or else None

Returns whether the resulting neck is right or left handed, or None if the neck is Monoscale

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.