Update dependencies and rust version
This commit is contained in:
+17
-17
@@ -6,9 +6,9 @@ use std::{
|
||||
|
||||
use atoi::FromRadix16;
|
||||
use egui::{
|
||||
ecolor::HexColor, Align, Color32, CursorIcon, Event, Frame, Key, Layout, Margin, Rect,
|
||||
Response, RichText, Rounding, Sense, Shape, Stroke, TextEdit, Ui, UiBuilder, Vec2, Widget,
|
||||
WidgetText,
|
||||
Align, Color32, CursorIcon, Event, Frame, Key, Layout, Margin, Rect, Response, RichText,
|
||||
Rounding, Sense, Shape, Stroke, TextEdit, Ui, UiBuilder, Vec2, Widget, WidgetText,
|
||||
ecolor::HexColor,
|
||||
};
|
||||
use num_traits::{CheckedAdd, CheckedSub, One};
|
||||
|
||||
@@ -119,20 +119,20 @@ pub trait Number:
|
||||
{
|
||||
}
|
||||
impl<
|
||||
T: Copy
|
||||
+ One
|
||||
+ CheckedAdd
|
||||
+ CheckedSub
|
||||
+ Eq
|
||||
+ Ord
|
||||
+ Display
|
||||
+ FromStr
|
||||
+ FromRadix16
|
||||
+ UpperHex
|
||||
+ Send
|
||||
+ Sync
|
||||
+ 'static,
|
||||
> Number for T
|
||||
T: Copy
|
||||
+ One
|
||||
+ CheckedAdd
|
||||
+ CheckedSub
|
||||
+ Eq
|
||||
+ Ord
|
||||
+ Display
|
||||
+ FromStr
|
||||
+ FromRadix16
|
||||
+ UpperHex
|
||||
+ Send
|
||||
+ Sync
|
||||
+ 'static,
|
||||
> Number for T
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user