Enum sam4l::usbc::data::Mode [] [src]

pub enum Mode {
    Host,
    Device {
        speed: Speed,
        config: Option<EndpointConfig>,
        state: DeviceState,
    },
}

Variants

Fields of Device

Methods

impl Mode
[src]

[src]

Trait Implementations

impl Copy for Mode
[src]

impl Clone for Mode
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Mode
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Debug for Mode
[src]

[src]

Formats the value using the given formatter. Read more

impl ToWord for Mode
[src]

[src]