pub struct PortAddress {
pub net: u8,
pub sub_net: u8,
pub universe: u8,
}Expand description
One of the 32,768 possible addresses to which a DMX frame can be directed. The Port-Address is a 15-bit number composed of Net+Sub-Net+Universe.
Bits: | 15 | 8-14 | 4-7 | 0-3 | | 0 | Net | SubNet | Universe |
Fields§
§net: u8§sub_net: u8§universe: u8Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PortAddress
impl RefUnwindSafe for PortAddress
impl Send for PortAddress
impl Sync for PortAddress
impl Unpin for PortAddress
impl UnwindSafe for PortAddress
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