[][src]Struct onewire::Device

pub struct Device {
    pub address: [u8; 8],
}

Fields

address: [u8; 8]

Methods

impl Device[src]

pub fn from_str(string: &str) -> Result<Device, ParseIntError>[src]

pub fn family_code(&self) -> u8[src]

Trait Implementations

impl Display for Device[src]

impl Debug for Device[src]

impl PartialEq<Device> for Device[src]

impl PartialOrd<Device> for Device[src]

impl Clone for Device[src]

Auto Trait Implementations

impl Unpin for Device

impl Send for Device

impl Sync for Device

Blanket Implementations

impl<T> From<T> for 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> Into<U> for T where
    U: From<T>, 
[src]

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> Borrow<T> for T where
    T: ?Sized
[src]

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

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