mirror of https://codeberg.org/topola/topola.git
docs(geometry/edit): document Recordable
This commit is contained in:
parent
af18d82d7c
commit
cf7ce16c3d
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue