pub enum SizeUnit {
Character = 0,
Millimetre = 1,
ComputerDecipoint = 2,
Decidot = 3,
Mil = 4,
BasicMeasuringUnit = 5,
Micrometer = 6,
Pixel = 7,
Decipoint = 8,
}
Expand description
Valid parameter values to the function SSU
.
Variants§
Character = 0
The dimension of this unit are device-dependent.
Millimetre = 1
Millimetre.
ComputerDecipoint = 2
Computer Decipoint (0.03528 mm - 1/720 of 25.4 mm).
Decidot = 3
Decidot (0.03759 mm - 10/266 mm).
Mil = 4
Mil (0.0254 mm - 1/1000 of 25.4 mm).
BasicMeasuringUnit = 5
Basic Measuring Unit (BMU) (0.02117 mm - 1/1200 of 25.4 mm).
Micrometer = 6
Micrometer (0.001 mm).
Pixel = 7
Pixel. The smallest increment that can be specified in a device.
Decipoint = 8
Decipoint (0.03514mm - 35/996 mm).
Trait Implementations§
source§impl PartialEq for SizeUnit
impl PartialEq for SizeUnit
impl Copy for SizeUnit
impl Eq for SizeUnit
impl StructuralEq for SizeUnit
impl StructuralPartialEq for SizeUnit
Auto Trait Implementations§
impl RefUnwindSafe for SizeUnit
impl Send for SizeUnit
impl Sync for SizeUnit
impl Unpin for SizeUnit
impl UnwindSafe for SizeUnit
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more