[][src]Struct ev3dev_lang_rust::driver::Driver

pub struct Driver { /* fields omitted */ }

Methods

impl Driver[src]

pub fn new(class_name: String, name: String) -> Driver[src]

pub fn find_name_by_port_and_driver(
    class_name: &str,
    port: &dyn Port,
    driver_name: &str
) -> Option<String>
[src]

pub fn find_name_by_port(class_name: &str, port: &dyn Port) -> Option<String>[src]

pub fn find_name_by_driver(
    class_name: &str,
    driver_name: &str
) -> Option<String>
[src]

pub fn find_names_by_driver(class_name: &str, driver_name: &str) -> Vec<String>[src]

pub fn get_attribute(&mut self, attribute_name: &str) -> &Attribute[src]

Auto Trait Implementations

impl Send for Driver

impl Sync for Driver

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto 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> Any for T where
    T: 'static + ?Sized
[src]