embassy-rp

Crates

git

Versions

rp235xb

Flavors

embassy_rp::pwm

Trait Slice

Source
pub trait Slice:
    Peripheral<P = Self>
    + SealedSlice
    + Sized
    + 'static {
    // Required method
    fn number(&self) -> usize;
}
Expand description

PWM Slice.

Required Methods§

Source

fn number(&self) -> usize

Slice number.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§