pub struct DebuggerBuilder { /* private fields */ }Expand description
Builder for configuring and registering the debugger.
Provides a fluent API for debugger configuration before registration.
Implementations§
Source§impl DebuggerBuilder
impl DebuggerBuilder
Sourcepub fn new() -> Self
pub fn new() -> Self
Create a new builder with default settings.
Defaults:
- module_name:
"emmy_core" - file_extensions:
["lua"]
Sourcepub fn module_name(self, name: impl Into<String>) -> Self
pub fn module_name(self, name: impl Into<String>) -> Self
Set the module name used for require().
Default: "emmy_core".
Sourcepub fn file_extensions(
self,
exts: impl IntoIterator<Item = impl Into<String>>,
) -> Self
pub fn file_extensions( self, exts: impl IntoIterator<Item = impl Into<String>>, ) -> Self
Set file extensions the debugger should consider for source matching.
Default: ["lua"].
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DebuggerBuilder
impl RefUnwindSafe for DebuggerBuilder
impl Send for DebuggerBuilder
impl Sync for DebuggerBuilder
impl Unpin for DebuggerBuilder
impl UnsafeUnpin for DebuggerBuilder
impl UnwindSafe for DebuggerBuilder
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