fixes: various fixes and cleanup
This commit is contained in:
parent
b4346ff3ca
commit
c1edb81084
27 changed files with 676 additions and 1455 deletions
|
|
@ -78,6 +78,12 @@ impl From<f32> for Length {
|
|||
}
|
||||
}
|
||||
|
||||
impl From<i32> for Length {
|
||||
fn from(amount: i32) -> Self {
|
||||
Length::Fixed(amount as f32)
|
||||
}
|
||||
}
|
||||
|
||||
impl From<u16> for Length {
|
||||
fn from(amount: u16) -> Self {
|
||||
Length::Fixed(amount as f32)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue