pub struct ExprID(pub u64);
Expand description
An ID of an expression-like thing. In practice something that has a type in the type inferer.
Tuple Fields§
§0: u64
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ExprID
impl<'de> Deserialize<'de> for ExprID
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for ExprID
impl Ord for ExprID
Source§impl PartialOrd for ExprID
impl PartialOrd for ExprID
Source§impl WithLocation for ExprID
impl WithLocation for ExprID
fn at(self, file_id: usize, span: &impl HasCodespan) -> Loc<Self>where
Self: Sized,
fn between( self, file_id: usize, start: &impl HasCodespan, end: &impl HasCodespan, ) -> Loc<Self>
fn between_locs<T, Y>(self, start: &Loc<T>, end: &Loc<Y>) -> Loc<Self>
fn nowhere(self) -> Loc<Self>where
Self: Sized,
impl Copy for ExprID
impl Eq for ExprID
impl StructuralPartialEq for ExprID
Auto Trait Implementations§
impl Freeze for ExprID
impl RefUnwindSafe for ExprID
impl Send for ExprID
impl Sync for ExprID
impl Unpin for ExprID
impl UnwindSafe for ExprID
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more