pub struct Engine<VFS, Terminal> { /* private fields */ }Implementations§
Source§impl<VFS, Terminal> Engine<VFS, Terminal>where
VFS: VirtualFileSystem,
Terminal: TerminalProvider,
impl<VFS, Terminal> Engine<VFS, Terminal>where
VFS: VirtualFileSystem,
Terminal: TerminalProvider,
pub fn new(vfs: VFS, terminal: Terminal) -> Self
pub fn with_terminal_timeout(self, timeout: Duration) -> Self
pub fn with_list_budget(self, max_lines: usize, dense_threshold: usize) -> Self
pub fn capability_manifest(&self) -> CapabilityManifest
pub fn capability_manifest_for( &self, capabilities: &[Capability], ) -> CapabilityManifest
pub fn execute_turn( &mut self, instructions: Vec<Instruction>, ) -> Result<TurnResult>
Trait Implementations§
Auto Trait Implementations§
impl<VFS, Terminal> Freeze for Engine<VFS, Terminal>
impl<VFS, Terminal> RefUnwindSafe for Engine<VFS, Terminal>where
VFS: RefUnwindSafe,
Terminal: RefUnwindSafe,
impl<VFS, Terminal> Send for Engine<VFS, Terminal>
impl<VFS, Terminal> Sync for Engine<VFS, Terminal>
impl<VFS, Terminal> Unpin for Engine<VFS, Terminal>
impl<VFS, Terminal> UnsafeUnpin for Engine<VFS, Terminal>where
VFS: UnsafeUnpin,
Terminal: UnsafeUnpin,
impl<VFS, Terminal> UnwindSafe for Engine<VFS, Terminal>where
VFS: UnwindSafe,
Terminal: UnwindSafe,
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