esp_idf_sys

Type Alias StaticRingbuffer_t

Source
pub type StaticRingbuffer_t = xSTATIC_RINGBUFFER;
Expand description

@brief Struct that is equivalent in size to the ring buffer’s data structure

The contents of this struct are not meant to be used directly. This structure is meant to be used when creating a statically allocated ring buffer where this struct is of the exact size required to store a ring buffer’s control data structure.

Aliased Type§

struct StaticRingbuffer_t {
    pub xDummy1: [usize; 2],
    pub uxDummy2: u32,
    pub pvDummy3: [*mut c_void; 11],
    pub xDummy4: i32,
    pub xDummy5: [xSTATIC_LIST; 2],
    pub pvDummy6: *mut c_void,
    pub muxDummy: spinlock_t,
}

Fields§

§xDummy1: [usize; 2]

@cond

§uxDummy2: u32§pvDummy3: [*mut c_void; 11]§xDummy4: i32§xDummy5: [xSTATIC_LIST; 2]§pvDummy6: *mut c_void§muxDummy: spinlock_t

Trait Implementations

Source§

impl Clone for xSTATIC_RINGBUFFER

Source§

fn clone(&self) -> xSTATIC_RINGBUFFER

Returns a copy of the value. Read more
1.0.0§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for xSTATIC_RINGBUFFER

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for xSTATIC_RINGBUFFER

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Copy for xSTATIC_RINGBUFFER