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