pub struct AdiEncoder { /* private fields */ }Expand description
ADI encoder device. Requires two adi ports.
Implementations§
Trait Implementations§
Source§impl AdiDevice for AdiEncoder
impl AdiDevice for AdiEncoder
Source§type PortIndexOutput = (u8, u8)
type PortIndexOutput = (u8, u8)
The type that port_index should return. This is usually
u8, but occasionally (u8, u8).Source§fn port_index(&self) -> Self::PortIndexOutput
fn port_index(&self) -> Self::PortIndexOutput
Source§fn expander_port_index(&self) -> Option<u8>
fn expander_port_index(&self) -> Option<u8>
Source§fn device_type(&self) -> AdiDeviceType
fn device_type(&self) -> AdiDeviceType
Get the variant of
AdiDeviceType that this device is associated with.Source§impl Debug for AdiEncoder
impl Debug for AdiEncoder
Source§impl PartialEq for AdiEncoder
impl PartialEq for AdiEncoder
impl Eq for AdiEncoder
impl StructuralPartialEq for AdiEncoder
Auto Trait Implementations§
impl Freeze for AdiEncoder
impl RefUnwindSafe for AdiEncoder
impl Send for AdiEncoder
impl Sync for AdiEncoder
impl Unpin for AdiEncoder
impl UnwindSafe for AdiEncoder
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