pub struct DeviceConfig {
pub root: PathBuf,
pub tcp_ip: IpAddr,
pub udp_ip: IpAddr,
pub peers: Vec<IpAddr>,
pub wav: Option<PathBuf>,
}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).
Trait Implementations§
Source§impl Clone for DeviceConfig
impl Clone for DeviceConfig
Source§fn clone(&self) -> DeviceConfig
fn clone(&self) -> DeviceConfig
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 moreAuto Trait Implementations§
impl Freeze for DeviceConfig
impl RefUnwindSafe for DeviceConfig
impl Send for DeviceConfig
impl Sync for DeviceConfig
impl Unpin 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