forked from Orchid/orchid
Protocols and operators mostly
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
use std::any::{Any, TypeId, type_name};
|
||||
use std::collections::HashMap;
|
||||
use std::fmt;
|
||||
use std::fmt::{self, Debug};
|
||||
use std::future::Future;
|
||||
use std::num::NonZeroU32;
|
||||
use std::ops::Deref;
|
||||
@@ -144,6 +144,15 @@ impl NotTypAtom {
|
||||
)
|
||||
}
|
||||
}
|
||||
impl Debug for NotTypAtom {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
f.debug_struct("NotTypAtom")
|
||||
.field("pos", &self.pos)
|
||||
.field("expr", &self.expr)
|
||||
.field("typ.name", &self.typ.name())
|
||||
.finish_non_exhaustive()
|
||||
}
|
||||
}
|
||||
|
||||
pub trait AtomMethod: Request + Coding {
|
||||
const NAME: &str;
|
||||
|
||||
Reference in New Issue
Block a user