pub struct DiagramLabels {Show 18 fields
pub intensity_unit: &'static str,
pub intensity_unit_short: &'static str,
pub gamma_axis: &'static str,
pub intensity_axis: &'static str,
pub c_plane_axis: &'static str,
pub gamma_angle_axis: &'static str,
pub plane_c0_c180: &'static str,
pub plane_c90_c270: &'static str,
pub beam: &'static str,
pub field: &'static str,
pub beam_50_percent: &'static str,
pub field_10_percent: &'static str,
pub cie_label: &'static str,
pub efficacy_label: &'static str,
pub max_label: &'static str,
pub sh_ratio_label: &'static str,
pub heatmap_title: &'static str,
pub no_data: &'static str,
}Expand description
Labels for photometric diagrams (polar, cartesian, heatmap)
Fields§
§intensity_unit: &'static strIntensity unit label (default: “cd/1000lm”)
intensity_unit_short: &'static strShort intensity unit (default: “cd/klm”)
gamma_axis: &'static strGamma angle axis label (default: “Gamma (γ)”)
intensity_axis: &'static strIntensity axis label (default: “Intensity (cd/klm)”)
c_plane_axis: &'static strC-plane angle axis label (default: “C-Plane Angle (°)”)
gamma_angle_axis: &'static strGamma angle axis label for heatmap (default: “Gamma Angle (°)”)
plane_c0_c180: &'static strC0-C180 plane label
plane_c90_c270: &'static strC90-C270 plane label
beam: &'static strBeam angle label (default: “Beam”)
field: &'static strField angle label (default: “Field”)
beam_50_percent: &'static strBeam percentage label (default: “Beam 50%”)
field_10_percent: &'static strField percentage label (default: “Field 10%”)
cie_label: &'static strCIE classification label (default: “CIE:”)
efficacy_label: &'static strEfficacy label (default: “Eff:”)
max_label: &'static strMaximum label (default: “Max:”)
sh_ratio_label: &'static strSpacing/height ratio label (default: “S/H:”)
heatmap_title: &'static strHeatmap title (default: “Intensity Heatmap (Candela)”)
no_data: &'static strNo data placeholder (default: “No data”)
Implementations§
Source§impl DiagramLabels
impl DiagramLabels
Sourcepub fn for_language(code: &str) -> Self
pub fn for_language(code: &str) -> Self
Get labels for a language code (ISO 639-1)
Trait Implementations§
Source§impl Clone for DiagramLabels
impl Clone for DiagramLabels
Source§fn clone(&self) -> DiagramLabels
fn clone(&self) -> DiagramLabels
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more