#[repr(transparent)]pub struct V5_AdiPortConfiguration(pub c_uchar);
Tuple Fields§
§0: c_uchar
Implementations§
Source§impl V5_AdiPortConfiguration
impl V5_AdiPortConfiguration
pub const kAdiPortTypeAnalogIn: Self = _
pub const kAdiPortTypeAnalogOut: Self = _
pub const kAdiPortTypeDigitalIn: Self = _
pub const kAdiPortTypeDigitalOut: Self = _
pub const kAdiPortTypeSmartButton: Self = _
pub const kAdiPortTypeSmartPot: Self = _
pub const kAdiPortTypeLegacyButton: Self = _
pub const kAdiPortTypeLegacyPotentiometer: Self = _
pub const kAdiPortTypeLegacyLineSensor: Self = _
pub const kAdiPortTypeLegacyLightSensor: Self = _
pub const kAdiPortTypeLegacyGyro: Self = _
pub const kAdiPortTypeLegacyAccelerometer: Self = _
pub const kAdiPortTypeLegacyServo: Self = _
pub const kAdiPortTypeLegacyPwm: Self = _
pub const kAdiPortTypeQuadEncoder: Self = _
pub const kAdiPortTypeSonar: Self = _
pub const kAdiPortTypeLegacyPwmSlew: Self = _
pub const kAdiPortTypeUndefined: Self = _
Trait Implementations§
Source§impl Clone for V5_AdiPortConfiguration
impl Clone for V5_AdiPortConfiguration
Source§fn clone(&self) -> V5_AdiPortConfiguration
fn clone(&self) -> V5_AdiPortConfiguration
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for V5_AdiPortConfiguration
impl Debug for V5_AdiPortConfiguration
Source§impl Default for V5_AdiPortConfiguration
impl Default for V5_AdiPortConfiguration
Source§fn default() -> V5_AdiPortConfiguration
fn default() -> V5_AdiPortConfiguration
Returns the “default value” for a type. Read more
Source§impl PartialEq for V5_AdiPortConfiguration
impl PartialEq for V5_AdiPortConfiguration
impl Copy for V5_AdiPortConfiguration
impl Eq for V5_AdiPortConfiguration
impl StructuralPartialEq for V5_AdiPortConfiguration
Auto Trait Implementations§
impl Freeze for V5_AdiPortConfiguration
impl RefUnwindSafe for V5_AdiPortConfiguration
impl Send for V5_AdiPortConfiguration
impl Sync for V5_AdiPortConfiguration
impl Unpin for V5_AdiPortConfiguration
impl UnwindSafe for V5_AdiPortConfiguration
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)