Struct esp_idf_sys::rmt_simple_encoder_config_t
source · #[repr(C)]pub struct rmt_simple_encoder_config_t {
pub callback: rmt_encode_simple_cb_t,
pub arg: *mut c_void,
pub min_chunk_size: usize,
}
Expand description
@brief Simple callback encoder configuration
Fields§
§callback: rmt_encode_simple_cb_t
< Callback to call for encoding data into RMT items
arg: *mut c_void
< Opaque user-supplied argument for callback
min_chunk_size: usize
< Minimum amount of free space, in RMT symbols, the encoder needs in order to guarantee it always returns non-zero. Defaults to 64 if zero / not given.
Trait Implementations§
source§impl Clone for rmt_simple_encoder_config_t
impl Clone for rmt_simple_encoder_config_t
source§fn clone(&self) -> rmt_simple_encoder_config_t
fn clone(&self) -> rmt_simple_encoder_config_t
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for rmt_simple_encoder_config_t
impl Debug for rmt_simple_encoder_config_t
source§impl Default for rmt_simple_encoder_config_t
impl Default for rmt_simple_encoder_config_t
impl Copy for rmt_simple_encoder_config_t
Auto Trait Implementations§
impl Freeze for rmt_simple_encoder_config_t
impl RefUnwindSafe for rmt_simple_encoder_config_t
impl !Send for rmt_simple_encoder_config_t
impl !Sync for rmt_simple_encoder_config_t
impl Unpin for rmt_simple_encoder_config_t
impl UnwindSafe for rmt_simple_encoder_config_t
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)