docs(geometry/edit): document Recordable

This commit is contained in:
Alain Emilia Anna Zscheile 2025-01-03 06:07:58 +01:00
parent af18d82d7c
commit cf7ce16c3d
1 changed files with 4 additions and 0 deletions

View File

@ -89,6 +89,10 @@ impl<
} }
} }
/// Recordable objects are objects to which a [recorder](`GeometryEdit`) can be attached,
/// the specialized methods working on `&mut` [`Recording`] then (are to be expected to)
/// also write changes to the passed `recorder`, and can also be replayed or rolled back
/// via [`ApplyGeometryEdit`].
pub trait Recordable { pub trait Recordable {
type PW: GetWidth type PW: GetWidth
+ GetLayer + GetLayer