Enum psd::UnitFloatStructure [−][src]
pub enum UnitFloatStructure {
Angle(f64),
Density(f64),
Distance(f64),
None,
Percent(f64),
Pixels(f64),
}
Expand description
+————————————+––––––––––––––––––––––––––––+ | Length | Description | +————————————+––––––––––––––––––––––––––––+ | 4 | Units the following value is in. One of the following: | | | ‘#Ang’ = angle: base degrees | | | ‘#Rsl’ = density: base per inch | | | ‘#Rlt’ = distance: base 72ppi | | | ‘#Nne’ = none: coerced. | | | ‘#Prc’= percent: unit value | | | ‘#Pxl’ = pixels: tagged unit value | | 8 | Actual value (double) | +————————————+––––––––––––––––––––––––––––+
Variants
Angle(f64)
Base degrees
Tuple Fields of Angle
0: f64
Density(f64)
Base per inch
Tuple Fields of Density
0: f64
Distance(f64)
Base 72ppi
Tuple Fields of Distance
0: f64
Base coerced
Percent(f64)
Unit value
Tuple Fields of Percent
0: f64
Pixels(f64)
Tagged unit value
Tuple Fields of Pixels
0: f64