pub struct DebugConsoleConfig {
pub file: Option<String>,
pub mode: Mode,
pub iobase: Option<i32>,
}
Fields§
§file: Option<String>
§mode: Mode
§iobase: Option<i32>
Implementations§
Source§impl DebugConsoleConfig
impl DebugConsoleConfig
pub fn new(mode: Mode) -> DebugConsoleConfig
Trait Implementations§
Source§impl Clone for DebugConsoleConfig
impl Clone for DebugConsoleConfig
Source§fn clone(&self) -> DebugConsoleConfig
fn clone(&self) -> DebugConsoleConfig
Returns a duplicate 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 moreSource§impl Debug for DebugConsoleConfig
impl Debug for DebugConsoleConfig
Source§impl Default for DebugConsoleConfig
impl Default for DebugConsoleConfig
Source§fn default() -> DebugConsoleConfig
fn default() -> DebugConsoleConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DebugConsoleConfig
impl<'de> Deserialize<'de> for DebugConsoleConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DebugConsoleConfig
impl PartialEq for DebugConsoleConfig
Source§impl Serialize for DebugConsoleConfig
impl Serialize for DebugConsoleConfig
impl StructuralPartialEq for DebugConsoleConfig
Auto Trait Implementations§
impl Freeze for DebugConsoleConfig
impl RefUnwindSafe for DebugConsoleConfig
impl Send for DebugConsoleConfig
impl Sync for DebugConsoleConfig
impl Unpin for DebugConsoleConfig
impl UnwindSafe for DebugConsoleConfig
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