pub struct ForgeEngine {
pub store: BlueprintStore,
pub indexes: ForgeIndexes,
/* private fields */
}Fields§
§store: BlueprintStore§indexes: ForgeIndexesImplementations§
Source§impl ForgeEngine
impl ForgeEngine
pub fn new() -> Self
pub fn with_store(store: BlueprintStore) -> Self
pub fn writer(&mut self) -> WriteEngine<'_>
pub fn reader(&self) -> QueryEngine<'_>
pub fn is_dirty(&self) -> bool
pub fn mark_dirty(&mut self)
pub fn mark_clean(&mut self)
pub fn create_blueprint( &mut self, name: impl Into<String>, description: impl Into<String>, domain: Domain, ) -> ForgeResult<BlueprintId>
pub fn blueprint_count(&self) -> usize
Trait Implementations§
Source§impl Debug for ForgeEngine
impl Debug for ForgeEngine
Auto Trait Implementations§
impl Freeze for ForgeEngine
impl RefUnwindSafe for ForgeEngine
impl Send for ForgeEngine
impl Sync for ForgeEngine
impl Unpin for ForgeEngine
impl UnsafeUnpin for ForgeEngine
impl UnwindSafe for ForgeEngine
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