1.0.0[][src]Trait esp_idf_sys::std::prelude::v1::Clone

#[lang = "clone"]
pub trait Clone {
#[must_use = "cloning is often expensive and is not expected to have side effects"]
    fn clone(&self) -> Self;

    fn clone_from(&mut self, source: &Self) { ... }
}

A common trait for the ability to explicitly duplicate an object.

Differs from Copy in that Copy is implicit and extremely inexpensive, while Clone is always explicit and may or may not be expensive. In order to enforce these characteristics, Rust does not allow you to reimplement Copy, but you may reimplement Clone and run arbitrary code.

Since Clone is more general than Copy, you can automatically make anything Copy be Clone as well.

Derivable

This trait can be used with #[derive] if all fields are Clone. The derived implementation of clone calls clone on each field.

For a generic struct, #[derive] implements Clone conditionally by adding bound Clone on generic parameters.

// `derive` implements Clone for Reading<T> when T is Clone.
#[derive(Clone)]
struct Reading<T> {
    frequency: T,
}

How can I implement Clone?

Types that are Copy should have a trivial implementation of Clone. More formally: if T: Copy, x: T, and y: &T, then let x = y.clone(); is equivalent to let x = *y;. Manual implementations should be careful to uphold this invariant; however, unsafe code must not rely on it to ensure memory safety.

An example is a generic struct holding a function pointer. In this case, the implementation of Clone cannot be derived, but can be implemented as:

struct Generate<T>(fn() -> T);

impl<T> Copy for Generate<T> {}

impl<T> Clone for Generate<T> {
    fn clone(&self) -> Self {
        *self
    }
}

Additional implementors

In addition to the implementors listed below, the following types also implement Clone:

  • Function item types (i.e., the distinct types defined for each function)
  • Function pointer types (e.g., fn() -> i32)
  • Array types, for all sizes, if the item type also implements Clone (e.g., [i32; 123456])
  • Tuple types, if each component also implements Clone (e.g., (), (i32, bool))
  • Closure types, if they capture no value from the environment or if all such captured values implement Clone themselves. Note that variables captured by shared reference always implement Clone (even if the referent doesn't), while variables captured by mutable reference never implement Clone.

Required methods

#[must_use = "cloning is often expensive and is not expected to have side effects"] fn clone(&self) -> Self

Returns a copy of the value.

Examples

let hello = "Hello"; // &str implements Clone

assert_eq!("Hello", hello.clone());
Loading content...

Provided methods

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

Performs copy-assignment from source.

a.clone_from(&b) is equivalent to a = b.clone() in functionality, but can be overridden to reuse the resources of a to avoid unnecessary allocations.

Loading content...

Implementations on Foreign Types

impl Clone for ParseFloatError[src]

Loading content...

Implementors

impl Clone for Duration[src]

impl Clone for UnicodeVersion[src]

impl Clone for Infallible[src]

impl Clone for ParseBoolError[src]

impl Clone for esp_idf_sys::std::char::EscapeUnicode[src]

impl Clone for Layout[src]

impl Clone for ParseCharError[src]

impl Clone for TraitObject[src]

impl Clone for SearchStep[src]

impl Clone for isize[src]

impl Clone for SipHasher[src]

impl Clone for FpCategory[src]

impl Clone for bool[src]

impl Clone for RangeFull[src]

impl Clone for esp_idf_sys::std::char::EscapeDefault[src]

impl Clone for LayoutErr[src]

impl Clone for ![src]

impl Clone for usize[src]

impl Clone for esp_idf_sys::std::sync::atomic::Ordering[src]

impl Clone for TryFromIntError[src]

impl Clone for esp_idf_sys::std::cmp::Ordering[src]

impl Clone for ToLowercase[src]

impl Clone for NonZeroIsize[src]

impl Clone for PhantomPinned[src]

impl Clone for CannotReallocInPlace[src]

impl Clone for CharTryFromError[src]

impl Clone for NonZeroUsize[src]

impl Clone for char[src]

impl Clone for IntErrorKind[src]

impl Clone for esp_idf_sys::std::char::EscapeDebug[src]

impl Clone for TypeId[src]

impl Clone for AllocErr[src]

impl Clone for ToUppercase[src]

impl Clone for Error[src]

impl Clone for Waker[src]

impl Clone for ParseIntError[src]

impl Clone for TryFromSliceError[src]

impl Clone for RawWakerVTable[src]

impl Clone for NoneError[src]

impl Clone for max_align_t[src]

impl Clone for _mbstate_t[src]

impl Clone for _Bigint[src]

impl Clone for __tm[src]

impl Clone for _on_exit_args[src]

impl Clone for _atexit[src]

impl Clone for __sbuf[src]

impl Clone for __sFILE_fake[src]

impl Clone for __sFILE[src]

impl Clone for _glue[src]

impl Clone for _mprec[src]

impl Clone for _misc_reent[src]

impl Clone for _reent[src]

impl Clone for KernelFrame[src]

impl Clone for UserFrame[src]

impl Clone for XtExcFrame[src]

impl Clone for XtSolFrame[src]

impl Clone for div_t[src]

impl Clone for ldiv_t[src]

impl Clone for lldiv_t[src]

impl Clone for ETSEventTag[src]

impl Clone for _ETSTIMER_[src]

impl Clone for timespec[src]

impl Clone for itimerspec[src]

impl Clone for _types_fd_set[src]

impl Clone for sched_param[src]

impl Clone for pthread_attr_t[src]

impl Clone for pthread_mutexattr_t[src]

impl Clone for pthread_condattr_t[src]

impl Clone for pthread_once_t[src]

impl Clone for cookie_io_functions_t[src]

impl Clone for esp_timer[src]

impl Clone for esp_timer_create_args_t[src]

impl Clone for multi_heap_info[src]

impl Clone for multi_heap_info_t[src]

impl Clone for soc_memory_type_desc_t[src]

impl Clone for soc_memory_region_t[src]

impl Clone for soc_reserved_region_t[src]

impl Clone for portMUX_TYPE[src]

impl Clone for xMPU_SETTINGS[src]

impl Clone for intr_handle_data_t[src]

impl Clone for gpio_config_t[src]

impl Clone for esp_chip_info_t[src]

impl Clone for xSTATIC_LIST_ITEM[src]

impl Clone for xSTATIC_MINI_LIST_ITEM[src]

impl Clone for xSTATIC_LIST[src]

impl Clone for xSTATIC_TCB[src]

impl Clone for xSTATIC_QUEUE[src]

impl Clone for xSTATIC_EVENT_GROUP[src]

impl Clone for xSTATIC_TIMER[src]

impl Clone for xLIST_ITEM[src]

impl Clone for xMINI_LIST_ITEM[src]

impl Clone for xLIST[src]

impl Clone for xTIME_OUT[src]

impl Clone for xMEMORY_REGION[src]

impl Clone for xTASK_PARAMETERS[src]

impl Clone for xTASK_STATUS[src]

impl Clone for xTASK_SNAPSHOT[src]

impl Clone for can_general_config_t[src]

impl Clone for can_timing_config_t[src]

impl Clone for can_filter_config_t[src]

impl Clone for can_status_info_t[src]

impl Clone for can_message_t[src]

impl Clone for ledc_channel_config_t[src]

impl Clone for ledc_timer_config_t[src]

impl Clone for rmt_tx_config_t[src]

impl Clone for rmt_rx_config_t[src]

impl Clone for rmt_config_t[src]

impl Clone for rmt_tx_end_callback_t[src]

impl Clone for mcpwm_pin_config_t[src]

impl Clone for mcpwm_config_t[src]

impl Clone for mcpwm_carrier_config_t[src]

impl Clone for lldesc_s[src]

impl Clone for tx_ampdu_entry_s[src]

impl Clone for lldesc_chain_s[src]

impl Clone for spi_signal_conn_t[src]

impl Clone for spi_bus_config_t[src]

impl Clone for spi_device_interface_config_t[src]

impl Clone for spi_transaction_t[src]

impl Clone for spi_transaction_ext_t[src]

impl Clone for spi_device_t[src]

impl Clone for spi_slave_interface_config_t[src]

impl Clone for spi_slave_transaction_t[src]

impl Clone for timer_config_t[src]

impl Clone for uart_config_t[src]

impl Clone for uart_intr_config_t[src]

impl Clone for uart_event_t[src]

impl Clone for __va_list_tag[src]

impl Clone for CpuidResult[src]

impl Clone for __m128[src]

impl Clone for __m128d[src]

impl Clone for __m128i[src]

impl Clone for __m256[src]

impl Clone for __m256d[src]

impl Clone for __m256i[src]

impl Clone for __m512[src]

impl Clone for __m512d[src]

impl Clone for __m512i[src]

impl Clone for __m64[src]

impl Clone for DecodeUtf16Error[src]

impl Clone for NonZeroI128[src]

impl Clone for NonZeroI16[src]

impl Clone for NonZeroI32[src]

impl Clone for NonZeroI64[src]

impl Clone for NonZeroI8[src]

impl Clone for NonZeroU128[src]

impl Clone for NonZeroU16[src]

impl Clone for NonZeroU32[src]

impl Clone for NonZeroU64[src]

impl Clone for NonZeroU8[src]

impl Clone for Utf8Error[src]

impl Clone for _bindgen_ty_1[src]

impl Clone for _bindgen_ty_1__bindgen_ty_10__bindgen_ty_1[src]

impl Clone for _bindgen_ty_1__bindgen_ty_11__bindgen_ty_1[src]

impl Clone for _bindgen_ty_1__bindgen_ty_12__bindgen_ty_1[src]

impl Clone for _bindgen_ty_1__bindgen_ty_13__bindgen_ty_1[src]

impl Clone for _bindgen_ty_1__bindgen_ty_14__bindgen_ty_1[src]

impl Clone for _bindgen_ty_1__bindgen_ty_15__bindgen_ty_1[src]

impl Clone for _bindgen_ty_1__bindgen_ty_16__bindgen_ty_1[src]

impl Clone for _bindgen_ty_1__bindgen_ty_17__bindgen_ty_1[src]

impl Clone for _bindgen_ty_1__bindgen_ty_18__bindgen_ty_1[src]

impl Clone for _bindgen_ty_1__bindgen_ty_19__bindgen_ty_1[src]

impl Clone for _bindgen_ty_1__bindgen_ty_1__bindgen_ty_1[src]

impl Clone for _bindgen_ty_1__bindgen_ty_20__bindgen_ty_1[src]

impl Clone for _bindgen_ty_1__bindgen_ty_21__bindgen_ty_1[src]

impl Clone for _bindgen_ty_1__bindgen_ty_22__bindgen_ty_1[src]

impl Clone for _bindgen_ty_1__bindgen_ty_2__bindgen_ty_1[src]

impl Clone for _bindgen_ty_1__bindgen_ty_3__bindgen_ty_1[src]

impl Clone for _bindgen_ty_1__bindgen_ty_4__bindgen_ty_1[src]

impl Clone for _bindgen_ty_1__bindgen_ty_5__bindgen_ty_1[src]

impl Clone for _bindgen_ty_1__bindgen_ty_6__bindgen_ty_1[src]

impl Clone for _bindgen_ty_1__bindgen_ty_7__bindgen_ty_1[src]

impl Clone for _bindgen_ty_1__bindgen_ty_8__bindgen_ty_1[src]

impl Clone for _bindgen_ty_1__bindgen_ty_9__bindgen_ty_1[src]

impl Clone for _bindgen_ty_2[src]

impl Clone for _bindgen_ty_2__bindgen_ty_10__bindgen_ty_1[src]

impl Clone for _bindgen_ty_2__bindgen_ty_11__bindgen_ty_1[src]

impl Clone for _bindgen_ty_2__bindgen_ty_12__bindgen_ty_1[src]

impl Clone for _bindgen_ty_2__bindgen_ty_13__bindgen_ty_1[src]

impl Clone for _bindgen_ty_2__bindgen_ty_14__bindgen_ty_1[src]

impl Clone for _bindgen_ty_2__bindgen_ty_15__bindgen_ty_1[src]

impl Clone for _bindgen_ty_2__bindgen_ty_16__bindgen_ty_1[src]

impl Clone for _bindgen_ty_2__bindgen_ty_17__bindgen_ty_1[src]

impl Clone for _bindgen_ty_2__bindgen_ty_18__bindgen_ty_1[src]

impl Clone for _bindgen_ty_2__bindgen_ty_19__bindgen_ty_1[src]

impl Clone for _bindgen_ty_2__bindgen_ty_1__bindgen_ty_1[src]

impl Clone for _bindgen_ty_2__bindgen_ty_20__bindgen_ty_1[src]

impl Clone for _bindgen_ty_2__bindgen_ty_21__bindgen_ty_1[src]

impl Clone for _bindgen_ty_2__bindgen_ty_22__bindgen_ty_1[src]

impl Clone for _bindgen_ty_2__bindgen_ty_23__bindgen_ty_1[src]

impl Clone for _bindgen_ty_2__bindgen_ty_24__bindgen_ty_1[src]

impl Clone for _bindgen_ty_2__bindgen_ty_25__bindgen_ty_1[src]

impl Clone for _bindgen_ty_2__bindgen_ty_26__bindgen_ty_1[src]

impl Clone for _bindgen_ty_2__bindgen_ty_27__bindgen_ty_1[src]

impl Clone for _bindgen_ty_2__bindgen_ty_28__bindgen_ty_1[src]

impl Clone for _bindgen_ty_2__bindgen_ty_29__bindgen_ty_1[src]

impl Clone for _bindgen_ty_2__bindgen_ty_2__bindgen_ty_1[src]

impl Clone for _bindgen_ty_2__bindgen_ty_30__bindgen_ty_1[src]

impl Clone for _bindgen_ty_2__bindgen_ty_31__bindgen_ty_1[src]

impl Clone for _bindgen_ty_2__bindgen_ty_3__bindgen_ty_1[src]

impl Clone for _bindgen_ty_2__bindgen_ty_4__bindgen_ty_1[src]

impl Clone for _bindgen_ty_2__bindgen_ty_5__bindgen_ty_1[src]

impl Clone for _bindgen_ty_2__bindgen_ty_6__bindgen_ty_1[src]

impl Clone for _bindgen_ty_2__bindgen_ty_7__bindgen_ty_1[src]

impl Clone for _bindgen_ty_2__bindgen_ty_8__bindgen_ty_1[src]

impl Clone for _bindgen_ty_2__bindgen_ty_9__bindgen_ty_1[src]

impl Clone for _bindgen_ty_3[src]

impl Clone for _bindgen_ty_3__bindgen_ty_1[src]

impl Clone for _bindgen_ty_3__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1[src]

impl Clone for _bindgen_ty_3__bindgen_ty_1__bindgen_ty_2__bindgen_ty_1[src]

impl Clone for _bindgen_ty_3__bindgen_ty_2__bindgen_ty_1[src]

impl Clone for _bindgen_ty_3__bindgen_ty_3__bindgen_ty_1[src]

impl Clone for _bindgen_ty_3__bindgen_ty_4__bindgen_ty_1[src]

impl Clone for _bindgen_ty_3__bindgen_ty_5__bindgen_ty_1[src]

impl Clone for _bindgen_ty_3__bindgen_ty_6__bindgen_ty_1[src]

impl Clone for _bindgen_ty_3__bindgen_ty_7__bindgen_ty_1[src]

impl Clone for _bindgen_ty_3__bindgen_ty_8__bindgen_ty_1[src]

impl Clone for _bindgen_ty_4[src]

impl Clone for _bindgen_ty_4__bindgen_ty_1[src]

impl Clone for _bindgen_ty_5[src]

impl Clone for _bindgen_ty_5__bindgen_ty_10__bindgen_ty_1[src]

impl Clone for _bindgen_ty_5__bindgen_ty_11__bindgen_ty_1[src]

impl Clone for _bindgen_ty_5__bindgen_ty_12__bindgen_ty_1[src]

impl Clone for _bindgen_ty_5__bindgen_ty_13__bindgen_ty_1[src]

impl Clone for _bindgen_ty_5__bindgen_ty_14__bindgen_ty_1[src]

impl Clone for _bindgen_ty_5__bindgen_ty_15__bindgen_ty_1[src]

impl Clone for _bindgen_ty_5__bindgen_ty_16__bindgen_ty_1[src]

impl Clone for _bindgen_ty_5__bindgen_ty_17__bindgen_ty_1[src]

impl Clone for _bindgen_ty_5__bindgen_ty_18__bindgen_ty_1[src]

impl Clone for _bindgen_ty_5__bindgen_ty_19__bindgen_ty_1[src]

impl Clone for _bindgen_ty_5__bindgen_ty_1__bindgen_ty_1[src]

impl Clone for _bindgen_ty_5__bindgen_ty_20__bindgen_ty_1[src]

impl Clone for _bindgen_ty_5__bindgen_ty_21__bindgen_ty_1[src]

impl Clone for _bindgen_ty_5__bindgen_ty_22__bindgen_ty_1[src]

impl Clone for _bindgen_ty_5__bindgen_ty_23__bindgen_ty_1[src]

impl Clone for _bindgen_ty_5__bindgen_ty_24__bindgen_ty_1[src]

impl Clone for _bindgen_ty_5__bindgen_ty_25__bindgen_ty_1[src]

impl Clone for _bindgen_ty_5__bindgen_ty_26__bindgen_ty_1[src]

impl Clone for _bindgen_ty_5__bindgen_ty_27__bindgen_ty_1[src]

impl Clone for _bindgen_ty_5__bindgen_ty_28__bindgen_ty_1[src]

impl Clone for _bindgen_ty_5__bindgen_ty_29__bindgen_ty_1[src]

impl Clone for _bindgen_ty_5__bindgen_ty_2__bindgen_ty_1[src]

impl Clone for _bindgen_ty_5__bindgen_ty_30__bindgen_ty_1[src]

impl Clone for _bindgen_ty_5__bindgen_ty_31__bindgen_ty_1[src]

impl Clone for _bindgen_ty_5__bindgen_ty_32__bindgen_ty_1[src]

impl Clone for _bindgen_ty_5__bindgen_ty_33__bindgen_ty_1[src]

impl Clone for _bindgen_ty_5__bindgen_ty_34__bindgen_ty_1[src]

impl Clone for _bindgen_ty_5__bindgen_ty_35__bindgen_ty_1[src]

impl Clone for _bindgen_ty_5__bindgen_ty_36__bindgen_ty_1[src]

impl Clone for _bindgen_ty_5__bindgen_ty_37__bindgen_ty_1[src]

impl Clone for _bindgen_ty_5__bindgen_ty_3__bindgen_ty_1[src]

impl Clone for _bindgen_ty_5__bindgen_ty_4__bindgen_ty_1[src]

impl Clone for _bindgen_ty_5__bindgen_ty_5__bindgen_ty_1[src]

impl Clone for _bindgen_ty_5__bindgen_ty_6__bindgen_ty_1[src]

impl Clone for _bindgen_ty_5__bindgen_ty_7__bindgen_ty_1[src]

impl Clone for _bindgen_ty_5__bindgen_ty_8__bindgen_ty_1[src]

impl Clone for _bindgen_ty_5__bindgen_ty_9__bindgen_ty_1[src]

impl Clone for _bindgen_ty_6[src]

impl Clone for _bindgen_ty_6__bindgen_ty_1[src]

impl Clone for _bindgen_ty_6__bindgen_ty_10__bindgen_ty_1[src]

impl Clone for _bindgen_ty_6__bindgen_ty_11__bindgen_ty_1[src]

impl Clone for _bindgen_ty_6__bindgen_ty_12__bindgen_ty_1[src]

impl Clone for _bindgen_ty_6__bindgen_ty_13__bindgen_ty_1[src]

impl Clone for _bindgen_ty_6__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1[src]

impl Clone for _bindgen_ty_6__bindgen_ty_2__bindgen_ty_1[src]

impl Clone for _bindgen_ty_6__bindgen_ty_3__bindgen_ty_1[src]

impl Clone for _bindgen_ty_6__bindgen_ty_4__bindgen_ty_1[src]

impl Clone for _bindgen_ty_6__bindgen_ty_5__bindgen_ty_1[src]

impl Clone for _bindgen_ty_6__bindgen_ty_6__bindgen_ty_1[src]

impl Clone for _bindgen_ty_6__bindgen_ty_7__bindgen_ty_1[src]

impl Clone for _bindgen_ty_6__bindgen_ty_8__bindgen_ty_1[src]

impl Clone for _bindgen_ty_6__bindgen_ty_9__bindgen_ty_1[src]

impl Clone for _bindgen_ty_7[src]

impl Clone for _bindgen_ty_7__bindgen_ty_10__bindgen_ty_1[src]

impl Clone for _bindgen_ty_7__bindgen_ty_11__bindgen_ty_1[src]

impl Clone for _bindgen_ty_7__bindgen_ty_12__bindgen_ty_1[src]

impl Clone for _bindgen_ty_7__bindgen_ty_13__bindgen_ty_1[src]

impl Clone for _bindgen_ty_7__bindgen_ty_14__bindgen_ty_1[src]

impl Clone for _bindgen_ty_7__bindgen_ty_15__bindgen_ty_1[src]

impl Clone for _bindgen_ty_7__bindgen_ty_16__bindgen_ty_1[src]

impl Clone for _bindgen_ty_7__bindgen_ty_17__bindgen_ty_1[src]

impl Clone for _bindgen_ty_7__bindgen_ty_18__bindgen_ty_1[src]

impl Clone for _bindgen_ty_7__bindgen_ty_19__bindgen_ty_1[src]

impl Clone for _bindgen_ty_7__bindgen_ty_1__bindgen_ty_1[src]

impl Clone for _bindgen_ty_7__bindgen_ty_20__bindgen_ty_1[src]

impl Clone for _bindgen_ty_7__bindgen_ty_21__bindgen_ty_1[src]

impl Clone for _bindgen_ty_7__bindgen_ty_22__bindgen_ty_1[src]

impl Clone for _bindgen_ty_7__bindgen_ty_23__bindgen_ty_1[src]

impl Clone for _bindgen_ty_7__bindgen_ty_24__bindgen_ty_1[src]

impl Clone for _bindgen_ty_7__bindgen_ty_25__bindgen_ty_1[src]

impl Clone for _bindgen_ty_7__bindgen_ty_25__bindgen_ty_2[src]

impl Clone for _bindgen_ty_7__bindgen_ty_26__bindgen_ty_1[src]

impl Clone for _bindgen_ty_7__bindgen_ty_27__bindgen_ty_1[src]

impl Clone for _bindgen_ty_7__bindgen_ty_28__bindgen_ty_1[src]

impl Clone for _bindgen_ty_7__bindgen_ty_2__bindgen_ty_1[src]

impl Clone for _bindgen_ty_7__bindgen_ty_3__bindgen_ty_1[src]

impl Clone for _bindgen_ty_7__bindgen_ty_4__bindgen_ty_1[src]

impl Clone for _bindgen_ty_7__bindgen_ty_5__bindgen_ty_1[src]

impl Clone for _bindgen_ty_7__bindgen_ty_6__bindgen_ty_1[src]

impl Clone for _bindgen_ty_7__bindgen_ty_7__bindgen_ty_1[src]

impl Clone for _bindgen_ty_7__bindgen_ty_8__bindgen_ty_1[src]

impl Clone for _bindgen_ty_7__bindgen_ty_9__bindgen_ty_1[src]

impl Clone for _rand48[src]

impl Clone for i2c_config_t[src]

impl Clone for i2c_config_t__bindgen_ty_1__bindgen_ty_1[src]

impl Clone for i2c_config_t__bindgen_ty_1__bindgen_ty_2[src]

impl Clone for i2s_config_t[src]

impl Clone for i2s_event_t[src]

impl Clone for i2s_pin_config_t[src]

impl Clone for lldesc_s__bindgen_ty_1__bindgen_ty_1[src]

impl Clone for rmt_item32_t[src]

impl Clone for rmt_item32_t__bindgen_ty_1__bindgen_ty_1[src]

impl Clone for _bindgen_ty_1__bindgen_ty_1[src]

impl Clone for _bindgen_ty_1__bindgen_ty_10[src]

impl Clone for _bindgen_ty_1__bindgen_ty_11[src]

impl Clone for _bindgen_ty_1__bindgen_ty_12[src]

impl Clone for _bindgen_ty_1__bindgen_ty_13[src]

impl Clone for _bindgen_ty_1__bindgen_ty_14[src]

impl Clone for _bindgen_ty_1__bindgen_ty_15[src]

impl Clone for _bindgen_ty_1__bindgen_ty_16[src]

impl Clone for _bindgen_ty_1__bindgen_ty_17[src]

impl Clone for _bindgen_ty_1__bindgen_ty_18[src]

impl Clone for _bindgen_ty_1__bindgen_ty_19[src]

impl Clone for _bindgen_ty_1__bindgen_ty_2[src]

impl Clone for _bindgen_ty_1__bindgen_ty_20[src]

impl Clone for _bindgen_ty_1__bindgen_ty_21[src]

impl Clone for _bindgen_ty_1__bindgen_ty_22[src]

impl Clone for _bindgen_ty_1__bindgen_ty_3[src]

impl Clone for _bindgen_ty_1__bindgen_ty_4[src]

impl Clone for _bindgen_ty_1__bindgen_ty_5[src]

impl Clone for _bindgen_ty_1__bindgen_ty_6[src]

impl Clone for _bindgen_ty_1__bindgen_ty_7[src]

impl Clone for _bindgen_ty_1__bindgen_ty_8[src]

impl Clone for _bindgen_ty_1__bindgen_ty_9[src]

impl Clone for _bindgen_ty_2__bindgen_ty_1[src]

impl Clone for _bindgen_ty_2__bindgen_ty_10[src]

impl Clone for _bindgen_ty_2__bindgen_ty_11[src]

impl Clone for _bindgen_ty_2__bindgen_ty_12[src]

impl Clone for _bindgen_ty_2__bindgen_ty_13[src]

impl Clone for _bindgen_ty_2__bindgen_ty_14[src]

impl Clone for _bindgen_ty_2__bindgen_ty_15[src]

impl Clone for _bindgen_ty_2__bindgen_ty_16[src]

impl Clone for _bindgen_ty_2__bindgen_ty_17[src]

impl Clone for _bindgen_ty_2__bindgen_ty_18[src]

impl Clone for _bindgen_ty_2__bindgen_ty_19[src]

impl Clone for _bindgen_ty_2__bindgen_ty_2[src]

impl Clone for _bindgen_ty_2__bindgen_ty_20[src]

impl Clone for _bindgen_ty_2__bindgen_ty_21[src]

impl Clone for _bindgen_ty_2__bindgen_ty_22[src]

impl Clone for _bindgen_ty_2__bindgen_ty_23[src]

impl Clone for _bindgen_ty_2__bindgen_ty_24[src]

impl Clone for _bindgen_ty_2__bindgen_ty_25[src]

impl Clone for _bindgen_ty_2__bindgen_ty_26[src]

impl Clone for _bindgen_ty_2__bindgen_ty_27[src]

impl Clone for _bindgen_ty_2__bindgen_ty_28[src]

impl Clone for _bindgen_ty_2__bindgen_ty_29[src]

impl Clone for _bindgen_ty_2__bindgen_ty_3[src]

impl Clone for _bindgen_ty_2__bindgen_ty_30[src]

impl Clone for _bindgen_ty_2__bindgen_ty_31[src]

impl Clone for _bindgen_ty_2__bindgen_ty_4[src]

impl Clone for _bindgen_ty_2__bindgen_ty_5[src]

impl Clone for _bindgen_ty_2__bindgen_ty_6[src]

impl Clone for _bindgen_ty_2__bindgen_ty_7[src]

impl Clone for _bindgen_ty_2__bindgen_ty_8[src]

impl Clone for _bindgen_ty_2__bindgen_ty_9[src]

impl Clone for _bindgen_ty_3__bindgen_ty_1__bindgen_ty_1[src]

impl Clone for _bindgen_ty_3__bindgen_ty_1__bindgen_ty_2[src]

impl Clone for _bindgen_ty_3__bindgen_ty_2[src]

impl Clone for _bindgen_ty_3__bindgen_ty_3[src]

impl Clone for _bindgen_ty_3__bindgen_ty_4[src]

impl Clone for _bindgen_ty_3__bindgen_ty_5[src]

impl Clone for _bindgen_ty_3__bindgen_ty_6[src]

impl Clone for _bindgen_ty_3__bindgen_ty_7[src]

impl Clone for _bindgen_ty_3__bindgen_ty_8[src]

impl Clone for _bindgen_ty_4__bindgen_ty_1__bindgen_ty_1[src]

impl Clone for _bindgen_ty_5__bindgen_ty_1[src]

impl Clone for _bindgen_ty_5__bindgen_ty_10[src]

impl Clone for _bindgen_ty_5__bindgen_ty_11[src]

impl Clone for _bindgen_ty_5__bindgen_ty_12[src]

impl Clone for _bindgen_ty_5__bindgen_ty_13[src]

impl Clone for _bindgen_ty_5__bindgen_ty_14[src]

impl Clone for _bindgen_ty_5__bindgen_ty_15[src]

impl Clone for _bindgen_ty_5__bindgen_ty_16[src]

impl Clone for _bindgen_ty_5__bindgen_ty_17[src]

impl Clone for _bindgen_ty_5__bindgen_ty_18[src]

impl Clone for _bindgen_ty_5__bindgen_ty_19[src]

impl Clone for _bindgen_ty_5__bindgen_ty_2[src]

impl Clone for _bindgen_ty_5__bindgen_ty_20[src]

impl Clone for _bindgen_ty_5__bindgen_ty_21[src]

impl Clone for _bindgen_ty_5__bindgen_ty_22[src]

impl Clone for _bindgen_ty_5__bindgen_ty_23[src]

impl Clone for _bindgen_ty_5__bindgen_ty_24[src]

impl Clone for _bindgen_ty_5__bindgen_ty_25[src]

impl Clone for _bindgen_ty_5__bindgen_ty_26[src]

impl Clone for _bindgen_ty_5__bindgen_ty_27[src]

impl Clone for _bindgen_ty_5__bindgen_ty_28[src]

impl Clone for _bindgen_ty_5__bindgen_ty_29[src]

impl Clone for _bindgen_ty_5__bindgen_ty_3[src]

impl Clone for _bindgen_ty_5__bindgen_ty_30[src]

impl Clone for _bindgen_ty_5__bindgen_ty_31[src]

impl Clone for _bindgen_ty_5__bindgen_ty_32[src]

impl Clone for _bindgen_ty_5__bindgen_ty_33[src]

impl Clone for _bindgen_ty_5__bindgen_ty_34[src]

impl Clone for _bindgen_ty_5__bindgen_ty_35[src]

impl Clone for _bindgen_ty_5__bindgen_ty_36[src]

impl Clone for _bindgen_ty_5__bindgen_ty_37[src]

impl Clone for _bindgen_ty_5__bindgen_ty_4[src]

impl Clone for _bindgen_ty_5__bindgen_ty_5[src]

impl Clone for _bindgen_ty_5__bindgen_ty_6[src]

impl Clone for _bindgen_ty_5__bindgen_ty_7[src]

impl Clone for _bindgen_ty_5__bindgen_ty_8[src]

impl Clone for _bindgen_ty_5__bindgen_ty_9[src]

impl Clone for _bindgen_ty_6__bindgen_ty_10[src]

impl Clone for _bindgen_ty_6__bindgen_ty_11[src]

impl Clone for _bindgen_ty_6__bindgen_ty_12[src]

impl Clone for _bindgen_ty_6__bindgen_ty_13[src]

impl Clone for _bindgen_ty_6__bindgen_ty_1__bindgen_ty_1[src]

impl Clone for _bindgen_ty_6__bindgen_ty_2[src]

impl Clone for _bindgen_ty_6__bindgen_ty_3[src]

impl Clone for _bindgen_ty_6__bindgen_ty_4[src]

impl Clone for _bindgen_ty_6__bindgen_ty_5[src]

impl Clone for _bindgen_ty_6__bindgen_ty_6[src]

impl Clone for _bindgen_ty_6__bindgen_ty_7[src]

impl Clone for _bindgen_ty_6__bindgen_ty_8[src]

impl Clone for _bindgen_ty_6__bindgen_ty_9[src]

impl Clone for _bindgen_ty_7__bindgen_ty_1[src]

impl Clone for _bindgen_ty_7__bindgen_ty_10[src]

impl Clone for _bindgen_ty_7__bindgen_ty_11[src]

impl Clone for _bindgen_ty_7__bindgen_ty_12[src]

impl Clone for _bindgen_ty_7__bindgen_ty_13[src]

impl Clone for _bindgen_ty_7__bindgen_ty_14[src]

impl Clone for _bindgen_ty_7__bindgen_ty_15[src]

impl Clone for _bindgen_ty_7__bindgen_ty_16[src]

impl Clone for _bindgen_ty_7__bindgen_ty_17[src]

impl Clone for _bindgen_ty_7__bindgen_ty_18[src]

impl Clone for _bindgen_ty_7__bindgen_ty_19[src]

impl Clone for _bindgen_ty_7__bindgen_ty_2[src]

impl Clone for _bindgen_ty_7__bindgen_ty_20[src]

impl Clone for _bindgen_ty_7__bindgen_ty_21[src]

impl Clone for _bindgen_ty_7__bindgen_ty_22[src]

impl Clone for _bindgen_ty_7__bindgen_ty_23[src]

impl Clone for _bindgen_ty_7__bindgen_ty_24[src]

impl Clone for _bindgen_ty_7__bindgen_ty_25[src]

impl Clone for _bindgen_ty_7__bindgen_ty_26[src]

impl Clone for _bindgen_ty_7__bindgen_ty_27[src]

impl Clone for _bindgen_ty_7__bindgen_ty_28[src]

impl Clone for _bindgen_ty_7__bindgen_ty_3[src]

impl Clone for _bindgen_ty_7__bindgen_ty_4[src]

impl Clone for _bindgen_ty_7__bindgen_ty_5[src]

impl Clone for _bindgen_ty_7__bindgen_ty_6[src]

impl Clone for _bindgen_ty_7__bindgen_ty_7[src]

impl Clone for _bindgen_ty_7__bindgen_ty_8[src]

impl Clone for _bindgen_ty_7__bindgen_ty_9[src]

impl Clone for _mbstate_t__bindgen_ty_1[src]

impl Clone for i2c_config_t__bindgen_ty_1[src]

impl Clone for ledc_timer_config_t__bindgen_ty_1[src]

impl Clone for lldesc_s__bindgen_ty_1[src]

impl Clone for rmt_config_t__bindgen_ty_1[src]

impl Clone for rmt_item32_t__bindgen_ty_1[src]

impl Clone for spi_transaction_t__bindgen_ty_1[src]

impl Clone for spi_transaction_t__bindgen_ty_2[src]

impl Clone for xSTATIC_QUEUE__bindgen_ty_1[src]

impl Clone for f32[src]

impl Clone for f64[src]

impl Clone for i8[src]

impl Clone for i16[src]

impl Clone for i32[src]

impl Clone for i64[src]

impl Clone for i128[src]

impl Clone for u8[src]

impl Clone for u16[src]

impl Clone for u32[src]

impl Clone for u64[src]

impl Clone for u128[src]

impl<'_, A> Clone for esp_idf_sys::std::option::Iter<'_, A>[src]

impl<'_, T> Clone for esp_idf_sys::std::slice::Iter<'_, T>[src]

impl<'_, T> Clone for RChunks<'_, T>[src]

impl<'_, T> Clone for ChunksExact<'_, T>[src]

impl<'_, T> Clone for esp_idf_sys::std::result::Iter<'_, T>[src]

impl<'_, T> Clone for Windows<'_, T>[src]

impl<'_, T> Clone for Chunks<'_, T>[src]

impl<'_, T> Clone for &'_ T where
    T: ?Sized
[src]

impl<'_, T, P> Clone for esp_idf_sys::std::slice::Split<'_, T, P> where
    P: Clone + FnMut(&T) -> bool, 
[src]

impl<'a> Clone for esp_idf_sys::std::str::EscapeDebug<'a>[src]

impl<'a> Clone for Lines<'a>[src]

impl<'a> Clone for esp_idf_sys::std::str::EscapeUnicode<'a>[src]

impl<'a> Clone for Arguments<'a>[src]

impl<'a> Clone for esp_idf_sys::std::str::EscapeDefault<'a>[src]

impl<'a> Clone for SplitAsciiWhitespace<'a>[src]

impl<'a> Clone for LinesAny<'a>[src]

impl<'a> Clone for Chars<'a>[src]

impl<'a> Clone for Bytes<'a>[src]

impl<'a> Clone for CharIndices<'a>[src]

impl<'a> Clone for SplitWhitespace<'a>[src]

impl<'a> Clone for CharSearcher<'a>[src]

impl<'a> Clone for EncodeUtf16<'a>[src]

impl<'a, 'b> Clone for StrSearcher<'a, 'b>[src]

impl<'a, 'b> Clone for CharSliceSearcher<'a, 'b>[src]

impl<'a, F> Clone for CharPredicateSearcher<'a, F> where
    F: Clone + FnMut(char) -> bool, 
[src]

impl<'a, P> Clone for MatchIndices<'a, P> where
    P: Pattern<'a>,
    <P as Pattern<'a>>::Searcher: Clone
[src]

impl<'a, P> Clone for Matches<'a, P> where
    P: Pattern<'a>,
    <P as Pattern<'a>>::Searcher: Clone
[src]

impl<'a, P> Clone for RMatchIndices<'a, P> where
    P: Pattern<'a>,
    <P as Pattern<'a>>::Searcher: Clone
[src]

impl<'a, P> Clone for RMatches<'a, P> where
    P: Pattern<'a>,
    <P as Pattern<'a>>::Searcher: Clone
[src]

impl<'a, P> Clone for esp_idf_sys::std::str::RSplit<'a, P> where
    P: Pattern<'a>,
    <P as Pattern<'a>>::Searcher: Clone
[src]

impl<'a, P> Clone for RSplitN<'a, P> where
    P: Pattern<'a>,
    <P as Pattern<'a>>::Searcher: Clone
[src]

impl<'a, P> Clone for RSplitTerminator<'a, P> where
    P: Pattern<'a>,
    <P as Pattern<'a>>::Searcher: Clone
[src]

impl<'a, P> Clone for esp_idf_sys::std::str::Split<'a, P> where
    P: Pattern<'a>,
    <P as Pattern<'a>>::Searcher: Clone
[src]

impl<'a, P> Clone for SplitN<'a, P> where
    P: Pattern<'a>,
    <P as Pattern<'a>>::Searcher: Clone
[src]

impl<'a, P> Clone for SplitTerminator<'a, P> where
    P: Pattern<'a>,
    <P as Pattern<'a>>::Searcher: Clone
[src]

impl<'a, T> Clone for RChunksExact<'a, T>[src]

impl<'a, T, P> Clone for esp_idf_sys::std::slice::RSplit<'a, T, P> where
    P: Clone + FnMut(&T) -> bool,
    T: 'a + Clone
[src]

impl<'f> Clone for VaListImpl<'f>[src]

impl<A> Clone for Repeat<A> where
    A: Clone
[src]

impl<A> Clone for esp_idf_sys::std::option::IntoIter<A> where
    A: Clone
[src]

impl<A, B> Clone for Chain<A, B> where
    A: Clone,
    B: Clone
[src]

impl<A, B> Clone for Zip<A, B> where
    A: Clone,
    B: Clone
[src]

impl<F> Clone for FromFn<F> where
    F: Clone
[src]

impl<F> Clone for OnceWith<F> where
    F: Clone
[src]

impl<F> Clone for RepeatWith<F> where
    F: Clone
[src]

impl<H> Clone for BuildHasherDefault<H>[src]

impl<I> Clone for DecodeUtf16<I> where
    I: Clone + Iterator<Item = u16>, 
[src]

impl<I> Clone for Cloned<I> where
    I: Clone
[src]

impl<I> Clone for Copied<I> where
    I: Clone
[src]

impl<I> Clone for Cycle<I> where
    I: Clone
[src]

impl<I> Clone for Enumerate<I> where
    I: Clone
[src]

impl<I> Clone for Fuse<I> where
    I: Clone
[src]

impl<I> Clone for Peekable<I> where
    I: Clone + Iterator,
    <I as Iterator>::Item: Clone
[src]

impl<I> Clone for Skip<I> where
    I: Clone
[src]

impl<I> Clone for StepBy<I> where
    I: Clone
[src]

impl<I> Clone for Take<I> where
    I: Clone
[src]

impl<I, F> Clone for FilterMap<I, F> where
    F: Clone,
    I: Clone
[src]

impl<I, F> Clone for Inspect<I, F> where
    F: Clone,
    I: Clone
[src]

impl<I, F> Clone for Map<I, F> where
    F: Clone,
    I: Clone
[src]

impl<I, P> Clone for Filter<I, P> where
    I: Clone,
    P: Clone
[src]

impl<I, P> Clone for SkipWhile<I, P> where
    I: Clone,
    P: Clone
[src]

impl<I, P> Clone for TakeWhile<I, P> where
    I: Clone,
    P: Clone
[src]

impl<I, St, F> Clone for Scan<I, St, F> where
    F: Clone,
    I: Clone,
    St: Clone
[src]

impl<I, U> Clone for Flatten<I> where
    I: Iterator + Clone,
    U: Iterator + Clone,
    <I as Iterator>::Item: IntoIterator,
    <<I as Iterator>::Item as IntoIterator>::IntoIter == U,
    <<I as Iterator>::Item as IntoIterator>::Item == <U as Iterator>::Item
[src]

impl<I, U, F> Clone for FlatMap<I, U, F> where
    F: Clone,
    I: Clone,
    U: Clone + IntoIterator,
    <U as IntoIterator>::IntoIter: Clone
[src]

impl<Idx> Clone for Range<Idx> where
    Idx: Clone
[src]

impl<Idx> Clone for RangeFrom<Idx> where
    Idx: Clone
[src]

impl<Idx> Clone for RangeInclusive<Idx> where
    Idx: Clone
[src]

impl<Idx> Clone for RangeTo<Idx> where
    Idx: Clone
[src]

impl<Idx> Clone for RangeToInclusive<Idx> where
    Idx: Clone
[src]

impl<P> Clone for Pin<P> where
    P: Clone
[src]

impl<Storage: Clone, Align: Clone> Clone for __BindgenBitfieldUnit<Storage, Align>[src]

impl<T> Clone for Empty<T>[src]

impl<T> Clone for Discriminant<T>[src]

impl<T> Clone for __IncompleteArrayField<T>[src]

impl<T> Clone for *const T where
    T: ?Sized
[src]

impl<T> Clone for *mut T where
    T: ?Sized
[src]

impl<T> Clone for Bound<T> where
    T: Clone
[src]

impl<T> Clone for Option<T> where
    T: Clone
[src]

impl<T> Clone for Poll<T> where
    T: Clone
[src]

impl<T> Clone for Cell<T> where
    T: Copy
[src]

impl<T> Clone for RefCell<T> where
    T: Clone
[src]

fn clone(&self) -> RefCell<T>[src]

Panics

Panics if the value is currently mutably borrowed.

impl<T> Clone for Reverse<T> where
    T: Clone
[src]

impl<T> Clone for Once<T> where
    T: Clone
[src]

impl<T> Clone for Rev<T> where
    T: Clone
[src]

impl<T> Clone for PhantomData<T> where
    T: ?Sized
[src]

impl<T> Clone for ManuallyDrop<T> where
    T: Clone + ?Sized
[src]

impl<T> Clone for Wrapping<T> where
    T: Clone
[src]

impl<T> Clone for NonNull<T> where
    T: ?Sized
[src]

impl<T> Clone for esp_idf_sys::std::result::IntoIter<T> where
    T: Clone
[src]

impl<T> Clone for MaybeUninit<T> where
    T: Copy
[src]

impl<T, E> Clone for Result<T, E> where
    E: Clone,
    T: Clone
[src]

impl<T, F> Clone for Successors<T, F> where
    F: Clone,
    T: Clone
[src]

impl<Y, R> Clone for GeneratorState<Y, R> where
    R: Clone,
    Y: Clone
[src]

Loading content...