Enum psd::UnitFloatStructure
source · [−]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
Density(f64)
Base per inch
Distance(f64)
Base 72ppi
None
Base coerced
Percent(f64)
Unit value
Pixels(f64)
Tagged unit value
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for UnitFloatStructure
impl Send for UnitFloatStructure
impl Sync for UnitFloatStructure
impl Unpin for UnitFloatStructure
impl UnwindSafe for UnitFloatStructure
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more