pub struct DeviceConfig {
pub root: PathBuf,
pub tcp_ip: IpAddr,
pub udp_ip: IpAddr,
pub peers: Vec<IpAddr>,
pub wav: Option<PathBuf>,
pub mute: bool,
}Fields§
§root: PathBufThe full path to the VFS.
tcp_ip: IpAddrThe TCP IP address where to listen for serial events.
udp_ip: IpAddrThe UDP IP address where to listen for netplay events.
peers: Vec<IpAddr>The UDP IP addresses where to send netplay advertisements.
wav: Option<PathBuf>If provided, the path where to save the audio output (as a WAV file).
mute: boolDon’t play any audio.
Trait Implementations§
Source§impl Clone for DeviceConfig
impl Clone for DeviceConfig
Auto Trait Implementations§
impl Freeze for DeviceConfig
impl RefUnwindSafe for DeviceConfig
impl Send for DeviceConfig
impl Sync for DeviceConfig
impl Unpin for DeviceConfig
impl UnsafeUnpin for DeviceConfig
impl UnwindSafe for DeviceConfig
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