[−][src]Struct linuxcnc_hal::HalComponent
HAL component
An initialised HAL component ready for use in the main component loop.
Use HalComponentBuilder::new
to create a new component builder. Once all pins are registered,
calling .ready()
on the builder will convert it to a HalComponent
ready for use in the main
loop.
Methods
impl HalComponent
[src]
pub fn id(&self) -> i32
[src]
Get the HAL-assigned ID for this component
pub fn name(&self) -> &str
[src]
Get the component name
pub fn should_exit(&self) -> bool
[src]
Check whether the component was signalled to shut down
Trait Implementations
impl Debug for HalComponent
[src]
impl Drop for HalComponent
[src]
Auto Trait Implementations
impl RefUnwindSafe for HalComponent
impl Send for HalComponent
impl Sync for HalComponent
impl Unpin for HalComponent
impl UnwindSafe for HalComponent
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, 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>,