Skip to content

Commit deed833

Browse files
committed
Derive Hash and PartialOrd for BodyId
1 parent 1574867 commit deed833

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/rolt/src/simple_types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ impl BroadPhaseLayer {
2929
}
3030

3131
/// An ID that can be used to access a body using [`BodyInterface`][crate::BodyInterface].
32-
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
32+
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd)]
3333
pub struct BodyId(JPC_BodyID);
3434

3535
impl BodyId {

0 commit comments

Comments
 (0)