[][src]Struct wpilib_sys::bindings::HAL_ControlWord

#[repr(C)]
pub struct HAL_ControlWord { pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4], u32>, pub __bindgen_align: [u32; 0], }

Fields

_bitfield_1: __BindgenBitfieldUnit<[u8; 4], u32>__bindgen_align: [u32; 0]

Methods

impl HAL_ControlWord
[src]

pub fn enabled(&self) -> u32
[src]

pub fn set_enabled(&mut self, val: u32)
[src]

pub fn autonomous(&self) -> u32
[src]

pub fn set_autonomous(&mut self, val: u32)
[src]

pub fn test(&self) -> u32
[src]

pub fn set_test(&mut self, val: u32)
[src]

pub fn eStop(&self) -> u32
[src]

pub fn set_eStop(&mut self, val: u32)
[src]

pub fn fmsAttached(&self) -> u32
[src]

pub fn set_fmsAttached(&mut self, val: u32)
[src]

pub fn dsAttached(&self) -> u32
[src]

pub fn set_dsAttached(&mut self, val: u32)
[src]

pub fn control_reserved(&self) -> u32
[src]

pub fn set_control_reserved(&mut self, val: u32)
[src]

pub fn new_bitfield_1(
    enabled: u32,
    autonomous: u32,
    test: u32,
    eStop: u32,
    fmsAttached: u32,
    dsAttached: u32,
    control_reserved: u32
) -> __BindgenBitfieldUnit<[u8; 4], u32>
[src]

Trait Implementations

impl Clone for HAL_ControlWord
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for HAL_ControlWord
[src]

impl Copy for HAL_ControlWord
[src]

impl Debug for HAL_ControlWord
[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]