[−][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 Clone for DacPoint
[src]
impl Copy for DacPoint
[src]
impl Debug for DacPoint
[src]
impl Eq for DacPoint
[src]
impl Hash for DacPoint
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<DacPoint> for DacPoint
[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 StructuralEq for DacPoint
[src]
impl StructuralPartialEq for DacPoint
[src]
impl WriteToBytes for DacPoint
[src]
fn write_to_bytes<W: WriteBytesExt>(&self, writer: W) -> Result<()>
[src]
Auto Trait Implementations
impl RefUnwindSafe for DacPoint
impl Send for DacPoint
impl Sync for DacPoint
impl Unpin for DacPoint
impl UnwindSafe for DacPoint
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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, U> TryFrom<U> 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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,