WIP
This commit is contained in:
parent
3b1e5e966a
commit
dd6425e898
5 changed files with 56 additions and 19 deletions
|
@ -657,6 +657,15 @@ impl Size<Rems> {
|
|||
}
|
||||
}
|
||||
|
||||
impl From<Length> for Size<Length> {
|
||||
fn from(value: Length) -> Self {
|
||||
Self {
|
||||
width: value,
|
||||
height: value,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Default, Debug)]
|
||||
pub struct Edges<T> {
|
||||
top: T,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue