Struct rics::script::DynlibScript[][src]

pub struct DynlibScript { /* fields omitted */ }

Dynamic library script

Functions supported

bool rics_init(void) Called at initialization

bool rics_start(int32_t node) Called after the system is started

bool rics_can_callback(uint32_t id, usize_t len, uint8_t* dat) Called when a can message is detected by the program

Implementations

impl DynlibScript[src]

pub fn new(path: String) -> DynlibScript[src]

pub fn load(self) -> Self[src]

Trait Implementations

impl ScriptingInterface for DynlibScript[src]

fn update(&self, _svr: &mut RICSServer) -> bool[src]

No update function is implemented since a thread can simply be created in the start phase.

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,