Struct sam4l::usbc::data::EndpointConfig
[−]
[src]
#[repr(C)]pub struct EndpointConfig(u32);
Methods
impl EndpointConfig
[src]
pub fn new(
banks: BankCount,
size: EndpointSize,
dir: EndpointDirection,
typ: EndpointType,
redir: EndpointIndex
) -> EndpointConfig
[src]
banks: BankCount,
size: EndpointSize,
dir: EndpointDirection,
typ: EndpointType,
redir: EndpointIndex
) -> EndpointConfig
Create an endpoint configuration
Trait Implementations
impl Copy for EndpointConfig
[src]
impl Clone for EndpointConfig
[src]
fn clone(&self) -> EndpointConfig
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for EndpointConfig
[src]
fn eq(&self, __arg_0: &EndpointConfig) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &EndpointConfig) -> bool
[src]
This method tests for !=
.
impl Debug for EndpointConfig
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl From<EndpointConfig> for u32
[src]
fn from(epc: EndpointConfig) -> u32
[src]
Performs the conversion.