Struct easyjack::UnknownPortHandle [] [src]

pub struct UnknownPortHandle { /* fields omitted */ }

Methods

impl UnknownPortHandle
[src]

Attempts to coerce the port into an input port This function will test the port's flags to ensure that it is actually an input port

Attempts to coerce the port into an output port This function will test the port's flags to ensure that it is actually an output port

Forces coercion to an input port This is marked unsafe because it DOES NOT check the port flags before coercing it to the new type. If you are 100% sure your port is an input port, this call can save you some extra operations. If not, use the safe version!

Forces coercion to an output port This is marked unsafe because it DOES NOT check the port flags before coercing it to the new type. If you are 100% sure your port is an output port, this call can save you some extra operations. If not, use the safe version!

Trait Implementations

impl Debug for UnknownPortHandle
[src]

Formats the value using the given formatter.

impl Clone for UnknownPortHandle
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for UnknownPortHandle
[src]

impl Port for UnknownPortHandle
[src]

Gets the port's assigned full name (including the client name and the colon)

Get the flags used to construct this port