Struct rust_dmx::EnttecDmxPort
source · pub struct EnttecDmxPort { /* private fields */ }
Implementations§
source§impl EnttecDmxPort
impl EnttecDmxPort
sourcepub fn new(info: SerialPortInfo) -> Self
pub fn new(info: SerialPortInfo) -> Self
Create an enttec port. The port is not opened yet.
sourcepub fn opened(info: SerialPortInfo) -> Result<Self>
pub fn opened(info: SerialPortInfo) -> Result<Self>
Create an enttec port and open it.
Trait Implementations§
source§impl<'de> Deserialize<'de> for EnttecDmxPort
impl<'de> Deserialize<'de> for EnttecDmxPort
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 Display for EnttecDmxPort
impl Display for EnttecDmxPort
Auto Trait Implementations§
impl !RefUnwindSafe for EnttecDmxPort
impl Send for EnttecDmxPort
impl !Sync for EnttecDmxPort
impl Unpin for EnttecDmxPort
impl !UnwindSafe for EnttecDmxPort
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