pub struct DMXAddress {
pub universe: u16,
pub address: u16,
pub absolute: u32,
}
Expand description
DMXAddress color representation used in GDTF
Fields§
§universe: u16
Universe of the DMXAddress starting from 1
address: u16
The address in the dmx universe (1-512)
absolute: u32
The absolute dmx address including the universe (1-32767488)
Trait Implementations§
Source§impl Debug for DMXAddress
impl Debug for DMXAddress
Source§impl Display for DMXAddress
Dmx addresses can be used in format with {}. It will return the format ‘universe.address’
impl Display for DMXAddress
Dmx addresses can be used in format with {}. It will return the format ‘universe.address’
Source§impl PartialEq for DMXAddress
Dmx addresses can be compared with ==
impl PartialEq for DMXAddress
Dmx addresses can be compared with ==
Auto Trait Implementations§
impl Freeze for DMXAddress
impl RefUnwindSafe for DMXAddress
impl Send for DMXAddress
impl Sync for DMXAddress
impl Unpin for DMXAddress
impl UnwindSafe for DMXAddress
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