wip
This commit is contained in:
parent
a489a6b790
commit
e2918e0de9
19 changed files with 9291 additions and 60 deletions
|
|
@ -78,6 +78,12 @@ impl From<f32> for Length {
|
|||
}
|
||||
}
|
||||
|
||||
impl From<u16> for Length {
|
||||
fn from(amount: u16) -> Self {
|
||||
Length::Fixed(amount as f32)
|
||||
}
|
||||
}
|
||||
|
||||
impl From<u32> for Length {
|
||||
fn from(units: u32) -> Self {
|
||||
Length::Fixed(units as f32)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue