Trait bounded_static::ToBoundedStatic
source · [−]Expand description
A trait for converting &T to an owned T such that T: 'static.
See the module level documentation for details.
Associated Types
Required methods
Implementations on Foreign Types
sourceimpl ToBoundedStatic for &'static str
impl ToBoundedStatic for &'static str
No-op ToBoundedStatic impl for converting &'static str to &'static str.
sourceimpl ToBoundedStatic for bool
impl ToBoundedStatic for bool
No-op ToBoundedStatic impl for this primitive type.
sourceimpl ToBoundedStatic for char
impl ToBoundedStatic for char
No-op ToBoundedStatic impl for this primitive type.
sourceimpl ToBoundedStatic for f32
impl ToBoundedStatic for f32
No-op ToBoundedStatic impl for this primitive type.
sourceimpl ToBoundedStatic for f64
impl ToBoundedStatic for f64
No-op ToBoundedStatic impl for this primitive type.
sourceimpl ToBoundedStatic for usize
impl ToBoundedStatic for usize
No-op ToBoundedStatic impl for this primitive type.
sourceimpl ToBoundedStatic for u8
impl ToBoundedStatic for u8
No-op ToBoundedStatic impl for this primitive type.
sourceimpl ToBoundedStatic for u16
impl ToBoundedStatic for u16
No-op ToBoundedStatic impl for this primitive type.
sourceimpl ToBoundedStatic for u32
impl ToBoundedStatic for u32
No-op ToBoundedStatic impl for this primitive type.
sourceimpl ToBoundedStatic for u64
impl ToBoundedStatic for u64
No-op ToBoundedStatic impl for this primitive type.
sourceimpl ToBoundedStatic for u128
impl ToBoundedStatic for u128
No-op ToBoundedStatic impl for this primitive type.
sourceimpl ToBoundedStatic for isize
impl ToBoundedStatic for isize
No-op ToBoundedStatic impl for this primitive type.
sourceimpl ToBoundedStatic for i8
impl ToBoundedStatic for i8
No-op ToBoundedStatic impl for this primitive type.
sourceimpl ToBoundedStatic for i16
impl ToBoundedStatic for i16
No-op ToBoundedStatic impl for this primitive type.
sourceimpl ToBoundedStatic for i32
impl ToBoundedStatic for i32
No-op ToBoundedStatic impl for this primitive type.
sourceimpl ToBoundedStatic for i64
impl ToBoundedStatic for i64
No-op ToBoundedStatic impl for this primitive type.
sourceimpl ToBoundedStatic for i128
impl ToBoundedStatic for i128
No-op ToBoundedStatic impl for this primitive type.
sourceimpl ToBoundedStatic for ()
impl ToBoundedStatic for ()
No-op ToBoundedStatic impl for unit type ().
sourceimpl<T> ToBoundedStatic for Option<T> where
T: ToBoundedStatic,
impl<T> ToBoundedStatic for Option<T> where
T: ToBoundedStatic,
Blanket ToBoundedStatic impl for converting Option<T> to Option<T>: 'static.
sourceimpl<T, E> ToBoundedStatic for Result<T, E> where
T: ToBoundedStatic,
E: ToBoundedStatic,
impl<T, E> ToBoundedStatic for Result<T, E> where
T: ToBoundedStatic,
E: ToBoundedStatic,
Blanket ToBoundedStatic impl for converting Result<T, E> to Result<T, E>: 'static.
sourceimpl<T, const N: usize> ToBoundedStatic for [T; N] where
T: ToBoundedStatic + Copy,
impl<T, const N: usize> ToBoundedStatic for [T; N] where
T: ToBoundedStatic + Copy,
Blanket ToBoundedStatic impl for converting [T; const N: usize] to [T; const N: usize]: 'static.
sourceimpl<T11: ToBoundedStatic, T10: ToBoundedStatic, T9: ToBoundedStatic, T8: ToBoundedStatic, T7: ToBoundedStatic, T6: ToBoundedStatic, T5: ToBoundedStatic, T4: ToBoundedStatic, T3: ToBoundedStatic, T2: ToBoundedStatic, T1: ToBoundedStatic, T0: ToBoundedStatic> ToBoundedStatic for (T11, T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
impl<T11: ToBoundedStatic, T10: ToBoundedStatic, T9: ToBoundedStatic, T8: ToBoundedStatic, T7: ToBoundedStatic, T6: ToBoundedStatic, T5: ToBoundedStatic, T4: ToBoundedStatic, T3: ToBoundedStatic, T2: ToBoundedStatic, T1: ToBoundedStatic, T0: ToBoundedStatic> ToBoundedStatic for (T11, T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
Blanket ToBoundedStatic impl for converting tuple (T11, T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0,) to (T11, T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0,): 'static
sourceimpl<T10: ToBoundedStatic, T9: ToBoundedStatic, T8: ToBoundedStatic, T7: ToBoundedStatic, T6: ToBoundedStatic, T5: ToBoundedStatic, T4: ToBoundedStatic, T3: ToBoundedStatic, T2: ToBoundedStatic, T1: ToBoundedStatic, T0: ToBoundedStatic> ToBoundedStatic for (T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
impl<T10: ToBoundedStatic, T9: ToBoundedStatic, T8: ToBoundedStatic, T7: ToBoundedStatic, T6: ToBoundedStatic, T5: ToBoundedStatic, T4: ToBoundedStatic, T3: ToBoundedStatic, T2: ToBoundedStatic, T1: ToBoundedStatic, T0: ToBoundedStatic> ToBoundedStatic for (T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
Blanket ToBoundedStatic impl for converting tuple (T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0,) to (T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0,): 'static
sourceimpl<T9: ToBoundedStatic, T8: ToBoundedStatic, T7: ToBoundedStatic, T6: ToBoundedStatic, T5: ToBoundedStatic, T4: ToBoundedStatic, T3: ToBoundedStatic, T2: ToBoundedStatic, T1: ToBoundedStatic, T0: ToBoundedStatic> ToBoundedStatic for (T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
impl<T9: ToBoundedStatic, T8: ToBoundedStatic, T7: ToBoundedStatic, T6: ToBoundedStatic, T5: ToBoundedStatic, T4: ToBoundedStatic, T3: ToBoundedStatic, T2: ToBoundedStatic, T1: ToBoundedStatic, T0: ToBoundedStatic> ToBoundedStatic for (T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
Blanket ToBoundedStatic impl for converting tuple (T9, T8, T7, T6, T5, T4, T3, T2, T1, T0,) to (T9, T8, T7, T6, T5, T4, T3, T2, T1, T0,): 'static
sourceimpl<T8: ToBoundedStatic, T7: ToBoundedStatic, T6: ToBoundedStatic, T5: ToBoundedStatic, T4: ToBoundedStatic, T3: ToBoundedStatic, T2: ToBoundedStatic, T1: ToBoundedStatic, T0: ToBoundedStatic> ToBoundedStatic for (T8, T7, T6, T5, T4, T3, T2, T1, T0)
impl<T8: ToBoundedStatic, T7: ToBoundedStatic, T6: ToBoundedStatic, T5: ToBoundedStatic, T4: ToBoundedStatic, T3: ToBoundedStatic, T2: ToBoundedStatic, T1: ToBoundedStatic, T0: ToBoundedStatic> ToBoundedStatic for (T8, T7, T6, T5, T4, T3, T2, T1, T0)
Blanket ToBoundedStatic impl for converting tuple (T8, T7, T6, T5, T4, T3, T2, T1, T0,) to (T8, T7, T6, T5, T4, T3, T2, T1, T0,): 'static
sourceimpl<T7: ToBoundedStatic, T6: ToBoundedStatic, T5: ToBoundedStatic, T4: ToBoundedStatic, T3: ToBoundedStatic, T2: ToBoundedStatic, T1: ToBoundedStatic, T0: ToBoundedStatic> ToBoundedStatic for (T7, T6, T5, T4, T3, T2, T1, T0)
impl<T7: ToBoundedStatic, T6: ToBoundedStatic, T5: ToBoundedStatic, T4: ToBoundedStatic, T3: ToBoundedStatic, T2: ToBoundedStatic, T1: ToBoundedStatic, T0: ToBoundedStatic> ToBoundedStatic for (T7, T6, T5, T4, T3, T2, T1, T0)
Blanket ToBoundedStatic impl for converting tuple (T7, T6, T5, T4, T3, T2, T1, T0,) to (T7, T6, T5, T4, T3, T2, T1, T0,): 'static
sourceimpl<T6: ToBoundedStatic, T5: ToBoundedStatic, T4: ToBoundedStatic, T3: ToBoundedStatic, T2: ToBoundedStatic, T1: ToBoundedStatic, T0: ToBoundedStatic> ToBoundedStatic for (T6, T5, T4, T3, T2, T1, T0)
impl<T6: ToBoundedStatic, T5: ToBoundedStatic, T4: ToBoundedStatic, T3: ToBoundedStatic, T2: ToBoundedStatic, T1: ToBoundedStatic, T0: ToBoundedStatic> ToBoundedStatic for (T6, T5, T4, T3, T2, T1, T0)
Blanket ToBoundedStatic impl for converting tuple (T6, T5, T4, T3, T2, T1, T0,) to (T6, T5, T4, T3, T2, T1, T0,): 'static
sourceimpl<T5: ToBoundedStatic, T4: ToBoundedStatic, T3: ToBoundedStatic, T2: ToBoundedStatic, T1: ToBoundedStatic, T0: ToBoundedStatic> ToBoundedStatic for (T5, T4, T3, T2, T1, T0)
impl<T5: ToBoundedStatic, T4: ToBoundedStatic, T3: ToBoundedStatic, T2: ToBoundedStatic, T1: ToBoundedStatic, T0: ToBoundedStatic> ToBoundedStatic for (T5, T4, T3, T2, T1, T0)
Blanket ToBoundedStatic impl for converting tuple (T5, T4, T3, T2, T1, T0,) to (T5, T4, T3, T2, T1, T0,): 'static
sourceimpl<T4: ToBoundedStatic, T3: ToBoundedStatic, T2: ToBoundedStatic, T1: ToBoundedStatic, T0: ToBoundedStatic> ToBoundedStatic for (T4, T3, T2, T1, T0)
impl<T4: ToBoundedStatic, T3: ToBoundedStatic, T2: ToBoundedStatic, T1: ToBoundedStatic, T0: ToBoundedStatic> ToBoundedStatic for (T4, T3, T2, T1, T0)
Blanket ToBoundedStatic impl for converting tuple (T4, T3, T2, T1, T0,) to (T4, T3, T2, T1, T0,): 'static
sourceimpl<T3: ToBoundedStatic, T2: ToBoundedStatic, T1: ToBoundedStatic, T0: ToBoundedStatic> ToBoundedStatic for (T3, T2, T1, T0)
impl<T3: ToBoundedStatic, T2: ToBoundedStatic, T1: ToBoundedStatic, T0: ToBoundedStatic> ToBoundedStatic for (T3, T2, T1, T0)
Blanket ToBoundedStatic impl for converting tuple (T3, T2, T1, T0,) to (T3, T2, T1, T0,): 'static
sourceimpl<T2: ToBoundedStatic, T1: ToBoundedStatic, T0: ToBoundedStatic> ToBoundedStatic for (T2, T1, T0)
impl<T2: ToBoundedStatic, T1: ToBoundedStatic, T0: ToBoundedStatic> ToBoundedStatic for (T2, T1, T0)
Blanket ToBoundedStatic impl for converting tuple (T2, T1, T0,) to (T2, T1, T0,): 'static
sourceimpl<T1: ToBoundedStatic, T0: ToBoundedStatic> ToBoundedStatic for (T1, T0)
impl<T1: ToBoundedStatic, T0: ToBoundedStatic> ToBoundedStatic for (T1, T0)
Blanket ToBoundedStatic impl for converting tuple (T1, T0,) to (T1, T0,): 'static
sourceimpl<T0: ToBoundedStatic> ToBoundedStatic for (T0,)
impl<T0: ToBoundedStatic> ToBoundedStatic for (T0,)
Blanket ToBoundedStatic impl for converting tuple (T0,) to (T0,): 'static
sourceimpl<T> ToBoundedStatic for Cow<'_, T> where
T: 'static + ToOwned + ?Sized,
impl<T> ToBoundedStatic for Cow<'_, T> where
T: 'static + ToOwned + ?Sized,
Blanket ToBoundedStatic impl for converting Cow<'a, T: ?Sized> to Cow<'static, T: ?Sized>.
sourceimpl ToBoundedStatic for String
impl ToBoundedStatic for String
ToBoundedStatic impl for String.
sourceimpl<T> ToBoundedStatic for Vec<T> where
T: ToBoundedStatic,
impl<T> ToBoundedStatic for Vec<T> where
T: ToBoundedStatic,
Blanket ToBoundedStatic impl for converting Vec<T> to Vec<T>: 'static.
sourceimpl<T> ToBoundedStatic for BinaryHeap<T> where
T: ToBoundedStatic,
T::Static: Ord,
impl<T> ToBoundedStatic for BinaryHeap<T> where
T: ToBoundedStatic,
T::Static: Ord,
Blanket ToBoundedStatic impl for converting BinaryHeap<T> into BinaryHeap<T>: 'static.
sourceimpl<K, V> ToBoundedStatic for BTreeMap<K, V> where
K: ToBoundedStatic,
K::Static: Ord,
V: ToBoundedStatic,
impl<K, V> ToBoundedStatic for BTreeMap<K, V> where
K: ToBoundedStatic,
K::Static: Ord,
V: ToBoundedStatic,
Blanket ToBoundedStatic impl for converting BTreeMap<K, V> into BTreeMap<K, V>: 'static.
sourceimpl<T> ToBoundedStatic for BTreeSet<T> where
T: ToBoundedStatic,
T::Static: Ord,
impl<T> ToBoundedStatic for BTreeSet<T> where
T: ToBoundedStatic,
T::Static: Ord,
Blanket ToBoundedStatic impl for converting BTreeSet<T> into BTreeSet<T>: 'static.
sourceimpl<T> ToBoundedStatic for LinkedList<T> where
T: ToBoundedStatic,
impl<T> ToBoundedStatic for LinkedList<T> where
T: ToBoundedStatic,
Blanket ToBoundedStatic impl for converting LinkedList<T> into LinkedList<T>: 'static.
sourceimpl<T> ToBoundedStatic for VecDeque<T> where
T: ToBoundedStatic,
impl<T> ToBoundedStatic for VecDeque<T> where
T: ToBoundedStatic,
Blanket ToBoundedStatic impl for converting VecDeque<T> into VecDeque<T>: 'static.
sourceimpl<T> ToBoundedStatic for Box<T> where
T: ToBoundedStatic,
impl<T> ToBoundedStatic for Box<T> where
T: ToBoundedStatic,
Blanket ToBoundedStatic impl for converting Box<T> to Box<T>: 'static.
sourceimpl<K, V, S: BuildHasher> ToBoundedStatic for HashMap<K, V, S> where
K: ToBoundedStatic,
K::Static: Eq + Hash,
V: ToBoundedStatic,
impl<K, V, S: BuildHasher> ToBoundedStatic for HashMap<K, V, S> where
K: ToBoundedStatic,
K::Static: Eq + Hash,
V: ToBoundedStatic,
Blanket ToBoundedStatic impl for converting HashMap<K, V> to HashMap<K, V>: 'static.
sourceimpl<T, S: BuildHasher> ToBoundedStatic for HashSet<T, S> where
T: ToBoundedStatic,
T::Static: Eq + Hash,
impl<T, S: BuildHasher> ToBoundedStatic for HashSet<T, S> where
T: ToBoundedStatic,
T::Static: Eq + Hash,
Blanket ToBoundedStatic impl for converting HashSet<T> into HashSet<T>: 'static.
sourceimpl ToBoundedStatic for SmolStr
impl ToBoundedStatic for SmolStr
ToBoundedStatic impl for smol_str::SmolStr.
sourceimpl<A> ToBoundedStatic for SmallVec<A> where
A: Array + 'static,
A::Item: Clone,
impl<A> ToBoundedStatic for SmallVec<A> where
A: Array + 'static,
A::Item: Clone,
ToBoundedStatic impl for smallvec::SmallVec.
sourceimpl<Mode> ToBoundedStatic for SmartString<Mode> where
Mode: SmartStringMode + 'static,
impl<Mode> ToBoundedStatic for SmartString<Mode> where
Mode: SmartStringMode + 'static,
ToBoundedStatic impl for smartstring::SmartString.