[−][src]Struct ether_dream::protocol::DacPoint
Values are full-scale.
E.g. for all color channels, 65535
is full output while 0
is no output.
Fields
control: u16
A set of bit fields. The following fields are defined:
15
: Change point rate. If this bit is set and there are any values in the point rate change buffer a new rate is read out of the buffer and set as the current playback rate. If the buffer is empty, the point rate is not changed.
All other bits are reserved for future expansion to support extra TTL outputs, etc.
x: i16
-32768 is the start along the x axis (left-most point). 32767 is the end along the x axis (right-most point).
y: i16
-32768 is the start along the y axis (bottom-most point). 32767 is the end along the y axis (top-most point).
r: u16
0
is no red. 65535
is full red.
g: u16
0
is no green. 65535
is full green.
b: u16
0
is no blue. 65535
is full blue.
i: u16
u1: u16
u2: u16
Trait Implementations
impl WriteToBytes for DacPoint
[src]
fn write_to_bytes<W: WriteBytesExt>(&self, writer: W) -> Result<()>
[src]
impl ReadFromBytes for DacPoint
[src]
fn read_from_bytes<R: ReadBytesExt>(reader: R) -> Result<Self>
[src]
impl SizeBytes for DacPoint
[src]
const SIZE_BYTES: usize
[src]
impl Copy for DacPoint
[src]
impl PartialEq<DacPoint> for DacPoint
[src]
impl Eq for DacPoint
[src]
impl Clone for DacPoint
[src]
fn clone(&self) -> DacPoint
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for DacPoint
[src]
impl Hash for DacPoint
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,