[][src]Struct wiringpi::pin::OutputPin

pub struct OutputPin<Pin>(_, _);

Methods

impl<P: Pin> OutputPin<P>
[src]

Writes the value High or Low (1 or 0) to the given pin which must have been previously set as an output.

This writes the given value to the supplied analog pin. You will need to register additional analog modules to enable this function for devices such as the Gertboard.

impl<P: Pin + RequiresRoot> OutputPin<P>
[src]

impl<P: Pin + RequiresRoot> OutputPin<P>
[src]

impl<P: Pin + Pwm> OutputPin<P>
[src]

impl<P: Pin + GpioClock> OutputPin<P>
[src]

Auto Trait Implementations

impl<Pin> Send for OutputPin<Pin> where
    Pin: Send

impl<Pin> Sync for OutputPin<Pin> where
    Pin: Sync

Blanket Implementations

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

Performs the conversion.

impl<T> From for T
[src]

Performs the conversion.

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

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

Immutably borrows from an owned value. Read more

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

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more

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

Mutably borrows from an owned value. Read more

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.