pub struct DmxBridgeConfig {
pub port: Option<String>,
pub interface_type: DmxInterfaceType,
pub universe: u16,
pub namespace: String,
pub refresh_rate: f64,
}Expand description
DMX bridge configuration
Fields§
§port: Option<String>Serial port path
interface_type: DmxInterfaceTypeInterface type
universe: u16Universe number (for multi-universe setups)
namespace: StringAddress namespace
refresh_rate: f64Refresh rate in Hz
Trait Implementations§
Source§impl Clone for DmxBridgeConfig
impl Clone for DmxBridgeConfig
Source§fn clone(&self) -> DmxBridgeConfig
fn clone(&self) -> DmxBridgeConfig
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 DmxBridgeConfig
impl Debug for DmxBridgeConfig
Auto Trait Implementations§
impl Freeze for DmxBridgeConfig
impl RefUnwindSafe for DmxBridgeConfig
impl Send for DmxBridgeConfig
impl Sync for DmxBridgeConfig
impl Unpin for DmxBridgeConfig
impl UnsafeUnpin for DmxBridgeConfig
impl UnwindSafe for DmxBridgeConfig
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