#[repr(C)]pub struct FixtureData {
pub patched: u8,
pub universe: u8,
pub universe_channel: u16,
pub unit: Ucs2,
pub channel: u16,
pub circuit: Ucs2,
pub note: Ucs2,
pub position: [f32; 3],
pub angles: [f32; 3],
}Fields§
§patched: u8A boolean 0x00 or 0x01 indicating whether the fixture is patched or not.
universe: u8The (0-based) universe index.
universe_channel: u16The (0-based) DMX channel.
unit: Ucs2The unit number.
channel: u16The channel number.
circuit: Ucs2The circuit number.
note: Ucs2Any notes.
position: [f32; 3]The 3D position
angles: [f32; 3]The 3D angle.
Trait Implementations§
Source§impl Clone for FixtureData
impl Clone for FixtureData
Source§fn clone(&self) -> FixtureData
fn clone(&self) -> FixtureData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FixtureData
impl Debug for FixtureData
Source§impl PartialEq for FixtureData
impl PartialEq for FixtureData
Source§fn eq(&self, other: &FixtureData) -> bool
fn eq(&self, other: &FixtureData) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl ReadFromBytes for FixtureData
impl ReadFromBytes for FixtureData
Source§fn read_from_bytes<R: ReadBytesExt>(reader: R) -> Result<Self>
fn read_from_bytes<R: ReadBytesExt>(reader: R) -> Result<Self>
Read the command from bytes.
Source§impl SizeBytes for FixtureData
impl SizeBytes for FixtureData
fn size_bytes(&self) -> usize
impl StructuralPartialEq for FixtureData
Source§impl WriteToBytes for FixtureData
impl WriteToBytes for FixtureData
Source§fn write_to_bytes<W: WriteBytesExt>(&self, writer: W) -> Result<()>
fn write_to_bytes<W: WriteBytesExt>(&self, writer: W) -> Result<()>
Write the command to bytes.
Auto Trait Implementations§
impl Freeze for FixtureData
impl RefUnwindSafe for FixtureData
impl Send for FixtureData
impl Sync for FixtureData
impl Unpin for FixtureData
impl UnsafeUnpin for FixtureData
impl UnwindSafe for FixtureData
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