Enum AnySpeed

Source
pub enum AnySpeed {}
Expand description

Places no constraint on the overhead or time complexity of a cloning operation.

Trait Implementations§

Source§

impl<T, const N: usize> IndependentClone<AnySpeed> for [T; N]

Source§

fn independent_clone(&self) -> Self

Get a deep clone of a value, which does not share any semantically-important mutable state. Read more
Source§

impl<T1: IndependentClone<AnySpeed>> IndependentClone<AnySpeed> for (T1,)

Source§

fn independent_clone(&self) -> Self

Get a deep clone of a value, which does not share any semantically-important mutable state. Read more
Source§

impl<T1: IndependentClone<AnySpeed>, T2: IndependentClone<AnySpeed>> IndependentClone<AnySpeed> for (T1, T2)

Source§

fn independent_clone(&self) -> Self

Get a deep clone of a value, which does not share any semantically-important mutable state. Read more
Source§

impl<T1: IndependentClone<AnySpeed>, T2: IndependentClone<AnySpeed>, T3: IndependentClone<AnySpeed>> IndependentClone<AnySpeed> for (T1, T2, T3)

Source§

fn independent_clone(&self) -> Self

Get a deep clone of a value, which does not share any semantically-important mutable state. Read more
Source§

impl<T1: IndependentClone<AnySpeed>, T2: IndependentClone<AnySpeed>, T3: IndependentClone<AnySpeed>, T4: IndependentClone<AnySpeed>> IndependentClone<AnySpeed> for (T1, T2, T3, T4)

Source§

fn independent_clone(&self) -> Self

Get a deep clone of a value, which does not share any semantically-important mutable state. Read more
Source§

impl<T1: IndependentClone<AnySpeed>, T2: IndependentClone<AnySpeed>, T3: IndependentClone<AnySpeed>, T4: IndependentClone<AnySpeed>, T5: IndependentClone<AnySpeed>> IndependentClone<AnySpeed> for (T1, T2, T3, T4, T5)

Source§

fn independent_clone(&self) -> Self

Get a deep clone of a value, which does not share any semantically-important mutable state. Read more
Source§

impl<T1: IndependentClone<AnySpeed>, T2: IndependentClone<AnySpeed>, T3: IndependentClone<AnySpeed>, T4: IndependentClone<AnySpeed>, T5: IndependentClone<AnySpeed>, T6: IndependentClone<AnySpeed>> IndependentClone<AnySpeed> for (T1, T2, T3, T4, T5, T6)

Source§

fn independent_clone(&self) -> Self

Get a deep clone of a value, which does not share any semantically-important mutable state. Read more
Source§

impl<T1: IndependentClone<AnySpeed>, T2: IndependentClone<AnySpeed>, T3: IndependentClone<AnySpeed>, T4: IndependentClone<AnySpeed>, T5: IndependentClone<AnySpeed>, T6: IndependentClone<AnySpeed>, T7: IndependentClone<AnySpeed>> IndependentClone<AnySpeed> for (T1, T2, T3, T4, T5, T6, T7)

Source§

fn independent_clone(&self) -> Self

Get a deep clone of a value, which does not share any semantically-important mutable state. Read more
Source§

impl<T1: IndependentClone<AnySpeed>, T2: IndependentClone<AnySpeed>, T3: IndependentClone<AnySpeed>, T4: IndependentClone<AnySpeed>, T5: IndependentClone<AnySpeed>, T6: IndependentClone<AnySpeed>, T7: IndependentClone<AnySpeed>, T8: IndependentClone<AnySpeed>> IndependentClone<AnySpeed> for (T1, T2, T3, T4, T5, T6, T7, T8)

Source§

fn independent_clone(&self) -> Self

Get a deep clone of a value, which does not share any semantically-important mutable state. Read more
Source§

impl<T1: IndependentClone<AnySpeed>, T2: IndependentClone<AnySpeed>, T3: IndependentClone<AnySpeed>, T4: IndependentClone<AnySpeed>, T5: IndependentClone<AnySpeed>, T6: IndependentClone<AnySpeed>, T7: IndependentClone<AnySpeed>, T8: IndependentClone<AnySpeed>, T9: IndependentClone<AnySpeed>> IndependentClone<AnySpeed> for (T1, T2, T3, T4, T5, T6, T7, T8, T9)

Source§

fn independent_clone(&self) -> Self

Get a deep clone of a value, which does not share any semantically-important mutable state. Read more
Source§

impl<T1: IndependentClone<AnySpeed>, T2: IndependentClone<AnySpeed>, T3: IndependentClone<AnySpeed>, T4: IndependentClone<AnySpeed>, T5: IndependentClone<AnySpeed>, T6: IndependentClone<AnySpeed>, T7: IndependentClone<AnySpeed>, T8: IndependentClone<AnySpeed>, T9: IndependentClone<AnySpeed>, T10: IndependentClone<AnySpeed>> IndependentClone<AnySpeed> for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)

Source§

fn independent_clone(&self) -> Self

Get a deep clone of a value, which does not share any semantically-important mutable state. Read more
Source§

impl<T1: IndependentClone<AnySpeed>, T2: IndependentClone<AnySpeed>, T3: IndependentClone<AnySpeed>, T4: IndependentClone<AnySpeed>, T5: IndependentClone<AnySpeed>, T6: IndependentClone<AnySpeed>, T7: IndependentClone<AnySpeed>, T8: IndependentClone<AnySpeed>, T9: IndependentClone<AnySpeed>, T10: IndependentClone<AnySpeed>, T11: IndependentClone<AnySpeed>> IndependentClone<AnySpeed> for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)

Source§

fn independent_clone(&self) -> Self

Get a deep clone of a value, which does not share any semantically-important mutable state. Read more
Source§

impl<T1: IndependentClone<AnySpeed>, T2: IndependentClone<AnySpeed>, T3: IndependentClone<AnySpeed>, T4: IndependentClone<AnySpeed>, T5: IndependentClone<AnySpeed>, T6: IndependentClone<AnySpeed>, T7: IndependentClone<AnySpeed>, T8: IndependentClone<AnySpeed>, T9: IndependentClone<AnySpeed>, T10: IndependentClone<AnySpeed>, T11: IndependentClone<AnySpeed>, T12: IndependentClone<AnySpeed>> IndependentClone<AnySpeed> for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)

Source§

fn independent_clone(&self) -> Self

Get a deep clone of a value, which does not share any semantically-important mutable state. Read more
Source§

impl<T> IndependentClone<AnySpeed> for Arc<T>

Source§

fn independent_clone(&self) -> Self

Get a deep clone of a value, which does not share any semantically-important mutable state. Read more
Source§

impl<K, V> IndependentClone<AnySpeed> for BTreeMap<K, V>

Source§

fn independent_clone(&self) -> Self

Get a deep clone of a value, which does not share any semantically-important mutable state. Read more
Source§

impl<T> IndependentClone<AnySpeed> for BTreeSet<T>

Source§

fn independent_clone(&self) -> Self

Get a deep clone of a value, which does not share any semantically-important mutable state. Read more
Source§

impl<T> IndependentClone<AnySpeed> for BinaryHeap<T>

Source§

fn independent_clone(&self) -> Self

Get a deep clone of a value, which does not share any semantically-important mutable state. Read more
Source§

impl<T: IndependentClone<AnySpeed>> IndependentClone<AnySpeed> for Box<[T]>

Source§

fn independent_clone(&self) -> Self

Get a deep clone of a value, which does not share any semantically-important mutable state. Read more
Source§

impl IndependentClone<AnySpeed> for Box<str>

Source§

fn independent_clone(&self) -> Self

Get a deep clone of a value, which does not share any semantically-important mutable state. Read more
Source§

impl<T> IndependentClone<AnySpeed> for Cell<T>

Source§

fn independent_clone(&self) -> Self

Get a deep clone of a value, which does not share any semantically-important mutable state. Read more
Source§

impl<K, V, S> IndependentClone<AnySpeed> for HashMap<K, V, S>

Source§

fn independent_clone(&self) -> Self

Get a deep clone of a value, which does not share any semantically-important mutable state. Read more
Source§

impl<T, S> IndependentClone<AnySpeed> for HashSet<T, S>

Source§

fn independent_clone(&self) -> Self

Get a deep clone of a value, which does not share any semantically-important mutable state. Read more
Source§

impl<T: IndependentClone<AnySpeed>> IndependentClone<AnySpeed> for LinkedList<T>

Source§

fn independent_clone(&self) -> Self

Get a deep clone of a value, which does not share any semantically-important mutable state. Read more
Source§

impl<T: IndependentClone<AnySpeed>> IndependentClone<AnySpeed> for ManuallyDrop<T>

Source§

fn independent_clone(&self) -> Self

Get a deep clone of a value, which does not share any semantically-important mutable state. Read more
Source§

impl<T: IndependentClone<AnySpeed>> IndependentClone<AnySpeed> for Mutex<T>

Source§

fn independent_clone(&self) -> Self

§Panics or Deadlocks

Panics if the Mutex is poisoned.

Will either panic or deadlock if the current thread already holds the mutex.

Source§

impl<T: IndependentClone<AnySpeed>> IndependentClone<AnySpeed> for Option<T>

Source§

fn independent_clone(&self) -> Self

Get a deep clone of a value, which does not share any semantically-important mutable state. Read more
Source§

impl<T> IndependentClone<AnySpeed> for Pin<Arc<T>>

Source§

fn independent_clone(&self) -> Self

Get a deep clone of a value, which does not share any semantically-important mutable state. Read more
Source§

impl<T: IndependentClone<AnySpeed>> IndependentClone<AnySpeed> for Pin<Box<[T]>>

Source§

fn independent_clone(&self) -> Self

Get a deep clone of a value, which does not share any semantically-important mutable state. Read more
Source§

impl IndependentClone<AnySpeed> for Pin<Box<str>>

Source§

fn independent_clone(&self) -> Self

Get a deep clone of a value, which does not share any semantically-important mutable state. Read more
Source§

impl<T> IndependentClone<AnySpeed> for Pin<Rc<T>>

Source§

fn independent_clone(&self) -> Self

Get a deep clone of a value, which does not share any semantically-important mutable state. Read more
Source§

impl<T> IndependentClone<AnySpeed> for Rc<T>

Source§

fn independent_clone(&self) -> Self

Get a deep clone of a value, which does not share any semantically-important mutable state. Read more
Source§

impl<T: IndependentClone<AnySpeed>> IndependentClone<AnySpeed> for RefCell<T>

Source§

fn independent_clone(&self) -> Self

§Panics

Panics if the value is currently mutably borrowed.

Source§

impl<T: IndependentClone<AnySpeed>, E: IndependentClone<AnySpeed>> IndependentClone<AnySpeed> for Result<T, E>

Source§

fn independent_clone(&self) -> Self

Get a deep clone of a value, which does not share any semantically-important mutable state. Read more
Source§

impl<T: IndependentClone<AnySpeed>> IndependentClone<AnySpeed> for RwLock<T>

Source§

fn independent_clone(&self) -> Self

§Panics

Panics if the RwLock is poisoned.

Source§

impl<T: NonRecursive + IndependentClone<LogTime>> IndependentClone<AnySpeed> for T

Source§

fn independent_clone(&self) -> Self

Get a deep clone of a value, which does not share any semantically-important mutable state. Read more
Source§

impl<T: IndependentClone<AnySpeed>> IndependentClone<AnySpeed> for Vec<T>

Source§

fn independent_clone(&self) -> Self

Get a deep clone of a value, which does not share any semantically-important mutable state. Read more
Source§

impl<T: IndependentClone<AnySpeed>> IndependentClone<AnySpeed> for VecDeque<T>

Source§

fn independent_clone(&self) -> Self

Get a deep clone of a value, which does not share any semantically-important mutable state. Read more
Source§

impl<T> IndependentClone<AnySpeed> for Weak<T>

Source§

fn independent_clone(&self) -> Self

Get a deep clone of a value, which does not share any semantically-important mutable state. Read more
Source§

impl<T> IndependentClone<AnySpeed> for Weak<T>

Source§

fn independent_clone(&self) -> Self

Get a deep clone of a value, which does not share any semantically-important mutable state. Read more
Source§

impl<T1: MirroredClone<AnySpeed>> MirroredClone<AnySpeed> for (T1,)

Source§

fn mirrored_clone(&self) -> Self

Get a clone that shares all semantically-important mutable state with its source. Read more
Source§

impl<T1: MirroredClone<AnySpeed>, T2: MirroredClone<AnySpeed>> MirroredClone<AnySpeed> for (T1, T2)

Source§

fn mirrored_clone(&self) -> Self

Get a clone that shares all semantically-important mutable state with its source. Read more
Source§

impl<T1: MirroredClone<AnySpeed>, T2: MirroredClone<AnySpeed>, T3: MirroredClone<AnySpeed>> MirroredClone<AnySpeed> for (T1, T2, T3)

Source§

fn mirrored_clone(&self) -> Self

Get a clone that shares all semantically-important mutable state with its source. Read more
Source§

impl<T1: MirroredClone<AnySpeed>, T2: MirroredClone<AnySpeed>, T3: MirroredClone<AnySpeed>, T4: MirroredClone<AnySpeed>> MirroredClone<AnySpeed> for (T1, T2, T3, T4)

Source§

fn mirrored_clone(&self) -> Self

Get a clone that shares all semantically-important mutable state with its source. Read more
Source§

impl<T1: MirroredClone<AnySpeed>, T2: MirroredClone<AnySpeed>, T3: MirroredClone<AnySpeed>, T4: MirroredClone<AnySpeed>, T5: MirroredClone<AnySpeed>> MirroredClone<AnySpeed> for (T1, T2, T3, T4, T5)

Source§

fn mirrored_clone(&self) -> Self

Get a clone that shares all semantically-important mutable state with its source. Read more
Source§

impl<T1: MirroredClone<AnySpeed>, T2: MirroredClone<AnySpeed>, T3: MirroredClone<AnySpeed>, T4: MirroredClone<AnySpeed>, T5: MirroredClone<AnySpeed>, T6: MirroredClone<AnySpeed>> MirroredClone<AnySpeed> for (T1, T2, T3, T4, T5, T6)

Source§

fn mirrored_clone(&self) -> Self

Get a clone that shares all semantically-important mutable state with its source. Read more
Source§

impl<T1: MirroredClone<AnySpeed>, T2: MirroredClone<AnySpeed>, T3: MirroredClone<AnySpeed>, T4: MirroredClone<AnySpeed>, T5: MirroredClone<AnySpeed>, T6: MirroredClone<AnySpeed>, T7: MirroredClone<AnySpeed>> MirroredClone<AnySpeed> for (T1, T2, T3, T4, T5, T6, T7)

Source§

fn mirrored_clone(&self) -> Self

Get a clone that shares all semantically-important mutable state with its source. Read more
Source§

impl<T1: MirroredClone<AnySpeed>, T2: MirroredClone<AnySpeed>, T3: MirroredClone<AnySpeed>, T4: MirroredClone<AnySpeed>, T5: MirroredClone<AnySpeed>, T6: MirroredClone<AnySpeed>, T7: MirroredClone<AnySpeed>, T8: MirroredClone<AnySpeed>> MirroredClone<AnySpeed> for (T1, T2, T3, T4, T5, T6, T7, T8)

Source§

fn mirrored_clone(&self) -> Self

Get a clone that shares all semantically-important mutable state with its source. Read more
Source§

impl<T1: MirroredClone<AnySpeed>, T2: MirroredClone<AnySpeed>, T3: MirroredClone<AnySpeed>, T4: MirroredClone<AnySpeed>, T5: MirroredClone<AnySpeed>, T6: MirroredClone<AnySpeed>, T7: MirroredClone<AnySpeed>, T8: MirroredClone<AnySpeed>, T9: MirroredClone<AnySpeed>> MirroredClone<AnySpeed> for (T1, T2, T3, T4, T5, T6, T7, T8, T9)

Source§

fn mirrored_clone(&self) -> Self

Get a clone that shares all semantically-important mutable state with its source. Read more
Source§

impl<T1: MirroredClone<AnySpeed>, T2: MirroredClone<AnySpeed>, T3: MirroredClone<AnySpeed>, T4: MirroredClone<AnySpeed>, T5: MirroredClone<AnySpeed>, T6: MirroredClone<AnySpeed>, T7: MirroredClone<AnySpeed>, T8: MirroredClone<AnySpeed>, T9: MirroredClone<AnySpeed>, T10: MirroredClone<AnySpeed>> MirroredClone<AnySpeed> for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)

Source§

fn mirrored_clone(&self) -> Self

Get a clone that shares all semantically-important mutable state with its source. Read more
Source§

impl<T1: MirroredClone<AnySpeed>, T2: MirroredClone<AnySpeed>, T3: MirroredClone<AnySpeed>, T4: MirroredClone<AnySpeed>, T5: MirroredClone<AnySpeed>, T6: MirroredClone<AnySpeed>, T7: MirroredClone<AnySpeed>, T8: MirroredClone<AnySpeed>, T9: MirroredClone<AnySpeed>, T10: MirroredClone<AnySpeed>, T11: MirroredClone<AnySpeed>> MirroredClone<AnySpeed> for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)

Source§

fn mirrored_clone(&self) -> Self

Get a clone that shares all semantically-important mutable state with its source. Read more
Source§

impl<T1: MirroredClone<AnySpeed>, T2: MirroredClone<AnySpeed>, T3: MirroredClone<AnySpeed>, T4: MirroredClone<AnySpeed>, T5: MirroredClone<AnySpeed>, T6: MirroredClone<AnySpeed>, T7: MirroredClone<AnySpeed>, T8: MirroredClone<AnySpeed>, T9: MirroredClone<AnySpeed>, T10: MirroredClone<AnySpeed>, T11: MirroredClone<AnySpeed>, T12: MirroredClone<AnySpeed>> MirroredClone<AnySpeed> for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)

Source§

fn mirrored_clone(&self) -> Self

Get a clone that shares all semantically-important mutable state with its source. Read more
Source§

impl<T: NonRecursive + MirroredClone<LogTime>> MirroredClone<AnySpeed> for T

Source§

fn mirrored_clone(&self) -> Self

Get a clone that shares all semantically-important mutable state with its source. Read more
Source§

impl<T: NonRecursive + MixedClone<LogTime>> MixedClone<AnySpeed> for T

Source§

fn mixed_clone(&self) -> Self

Get a clone that could share some but not all semantically-important mutable state. Read more
Source§

impl Speed for AnySpeed

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.