mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-09 05:06:43 +01:00
generic Align; tui-specific Inset/Outset
This commit is contained in:
parent
4b413cfb60
commit
45ce37baa1
3 changed files with 57 additions and 49 deletions
|
|
@ -61,7 +61,8 @@ pub trait Number: Send + Sync + Copy
|
|||
+ Mul<Self, Output=Self>
|
||||
+ Div<Self, Output=Self>
|
||||
+ Ord + PartialEq + Eq
|
||||
+ Debug + Display + Default {}
|
||||
+ Debug + Display + Default
|
||||
+ From<u16> {}
|
||||
|
||||
impl<T> Number for T where
|
||||
T: Send + Sync + Copy
|
||||
|
|
@ -71,4 +72,5 @@ impl<T> Number for T where
|
|||
+ Div<Self, Output=Self>
|
||||
+ Ord + PartialEq + Eq
|
||||
+ Debug + Display + Default
|
||||
+ From<u16>
|
||||
{}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue