pub struct DebugConsoleBuilder { /* private fields */ }
Expand description
Builder for DebugConsole
.
Implementations§
Source§impl DebugConsoleBuilder
impl DebugConsoleBuilder
pub fn console_type<VALUE: Into<DebugConsoleType>>( &mut self, value: VALUE, ) -> &mut Self
pub fn iobase<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn build(&self) -> Result<DebugConsole, DebugConsoleBuilderError>
pub fn build(&self) -> Result<DebugConsole, DebugConsoleBuilderError>
Trait Implementations§
Source§impl Clone for DebugConsoleBuilder
impl Clone for DebugConsoleBuilder
Source§fn clone(&self) -> DebugConsoleBuilder
fn clone(&self) -> DebugConsoleBuilder
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for DebugConsoleBuilder
impl RefUnwindSafe for DebugConsoleBuilder
impl Send for DebugConsoleBuilder
impl Sync for DebugConsoleBuilder
impl Unpin for DebugConsoleBuilder
impl UnwindSafe for DebugConsoleBuilder
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