Struct fretboard_layout::Specs
source · [−]pub struct Specs {
pub scale: f64,
pub count: u32,
pub variant: Variant,
pub nut: f64,
pub bridge: f64,
pub pfret: f64,
/* private fields */
}
Expand description
This struct contains the user data used to create the svg output file
Fields
scale: f64
Scale length. For multiscale designs this is the bass side scale length.
count: u32
Number of frets to render
variant: Variant
Monoscale or Multiscale Right orLeft handed
nut: f64
The width of the fretboard at the nut.
bridge: f64
The string spacing at the bridge. Note that this is not the physical width of the bridge, but the distance perpendicular to the centerline between the outer two strings.
pfret: f64
The fret that is perpendicular to the centerline.