doc: add doc comments to ctalog struct description
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
use crate::*;
|
||||
|
||||
/// Represents a catalog of entities that can be persisted to a SQLite database.
|
||||
///
|
||||
/// The `Catalog` holds entities in memory and provides methods to interact with
|
||||
/// them, as well as to persist changes to and load data from a database file.
|
||||
#[derive(Debug, Default, PartialEq, Clone)]
|
||||
pub struct O {
|
||||
path: String,
|
||||
pub(crate) items: std::collections::HashMap<String, Entity>,
|
||||
}
|
||||
|
||||
impl O {
|
||||
/// Creates a new `Catalog` instance.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user