Trait yolol_devices::devices::DeviceTrait [−][src]
pub trait DeviceTrait { fn get_field(&self, field: &str) -> Option<&YololValue>; fn get_field_mut(&mut self, field: &str) -> Option<&mut YololValue>; fn get_device_name(&self) -> String; fn deserialize(&mut self, yaml: &YamlElement); }
Required methods
fn get_field(&self, field: &str) -> Option<&YololValue>
fn get_field_mut(&mut self, field: &str) -> Option<&mut YololValue>
fn get_device_name(&self) -> String
fn deserialize(&mut self, yaml: &YamlElement)