pub struct RangeFinder { /* private fields */ }
Implementations§
Source§impl RangeFinder
impl RangeFinder
pub fn range_finder_on_state(&self) -> &Field
pub fn range_finder_on_state_mut(&mut self) -> &mut Field
pub fn range_finder_search_length(&self) -> &Field
pub fn range_finder_search_length_mut(&mut self) -> &mut Field
pub fn range_finder_distance(&self) -> &Field
pub fn range_finder_distance_mut(&mut self) -> &mut Field
Trait Implementations§
Source§impl Debug for RangeFinder
impl Debug for RangeFinder
Source§impl Default for RangeFinder
impl Default for RangeFinder
Source§fn default() -> RangeFinder
fn default() -> RangeFinder
Returns the “default value” for a type. Read more
Source§impl DeviceTrait for RangeFinder
impl DeviceTrait for RangeFinder
fn deserialize<D>(&mut self, deserializer: &D)where
D: Deserializer<D, Output = D> + Index<String>,
<D as Index<String>>::Output: Deserializer<D, Output = D> + Index<String>,
fn get_device_name(&self) -> String
fn get_field(&self, field: &str) -> Option<&YololValue>
fn get_field_mut(&mut self, field: &str) -> Option<&mut YololValue>
Source§impl<R: CodeRunner + Default> From<RangeFinder> for Device<R>
impl<R: CodeRunner + Default> From<RangeFinder> for Device<R>
Source§fn from(v: RangeFinder) -> Device<R>
fn from(v: RangeFinder) -> Device<R>
Converts to this type from the input type.
Source§impl<R: CodeRunner + Default> TryInto<RangeFinder> for Device<R>
impl<R: CodeRunner + Default> TryInto<RangeFinder> for Device<R>
Auto Trait Implementations§
impl Freeze for RangeFinder
impl RefUnwindSafe for RangeFinder
impl Send for RangeFinder
impl Sync for RangeFinder
impl Unpin for RangeFinder
impl UnwindSafe for RangeFinder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more