pub trait ToBoundedStatic {
type Static: 'static;
// Required method
fn to_static(&self) -> Self::Static;
}Expand description
A trait for converting &T to an owned T such that T: 'static.
See the module level documentation for details.
Required Associated Types§
Required Methods§
Implementations on Foreign Types§
Source§impl ToBoundedStatic for &'static str
No-op ToBoundedStatic impl for converting &'static str to &'static str.
impl ToBoundedStatic for &'static str
No-op ToBoundedStatic impl for converting &'static str to &'static str.
Source§impl ToBoundedStatic for Month
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for Month
No-op ToBoundedStatic impl for this Copy type.
Source§impl ToBoundedStatic for Weekday
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for Weekday
No-op ToBoundedStatic impl for this Copy type.
Source§impl ToBoundedStatic for bool
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for bool
No-op ToBoundedStatic impl for this Copy type.
Source§impl ToBoundedStatic for char
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for char
No-op ToBoundedStatic impl for this Copy type.
Source§impl ToBoundedStatic for f32
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for f32
No-op ToBoundedStatic impl for this Copy type.
Source§impl ToBoundedStatic for f64
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for f64
No-op ToBoundedStatic impl for this Copy type.
Source§impl ToBoundedStatic for i8
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for i8
No-op ToBoundedStatic impl for this Copy type.
Source§impl ToBoundedStatic for i16
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for i16
No-op ToBoundedStatic impl for this Copy type.
Source§impl ToBoundedStatic for i32
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for i32
No-op ToBoundedStatic impl for this Copy type.
Source§impl ToBoundedStatic for i64
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for i64
No-op ToBoundedStatic impl for this Copy type.
Source§impl ToBoundedStatic for i128
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for i128
No-op ToBoundedStatic impl for this Copy type.
Source§impl ToBoundedStatic for isize
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for isize
No-op ToBoundedStatic impl for this Copy type.
Source§impl ToBoundedStatic for u8
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for u8
No-op ToBoundedStatic impl for this Copy type.
Source§impl ToBoundedStatic for u16
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for u16
No-op ToBoundedStatic impl for this Copy type.
Source§impl ToBoundedStatic for u32
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for u32
No-op ToBoundedStatic impl for this Copy type.
Source§impl ToBoundedStatic for u64
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for u64
No-op ToBoundedStatic impl for this Copy type.
Source§impl ToBoundedStatic for u128
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for u128
No-op ToBoundedStatic impl for this Copy type.
Source§impl ToBoundedStatic for ()
No-op ToBoundedStatic impl for unit type ().
impl ToBoundedStatic for ()
No-op ToBoundedStatic impl for unit type ().
Source§impl ToBoundedStatic for usize
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for usize
No-op ToBoundedStatic impl for this Copy type.
Source§impl ToBoundedStatic for String
Available on crate feature alloc only.ToBoundedStatic impl for String.
impl ToBoundedStatic for String
alloc only.ToBoundedStatic impl for String.
Source§impl ToBoundedStatic for RandomState
Available on crate feature std only.ToBoundedStatic impl for std::collections::hash_map::RandomState.
impl ToBoundedStatic for RandomState
std only.ToBoundedStatic impl for std::collections::hash_map::RandomState.
Source§impl ToBoundedStatic for RandomState
Available on crate feature ahash only.ToBoundedStatic impl for ahash::RandomState.
impl ToBoundedStatic for RandomState
ahash only.ToBoundedStatic impl for ahash::RandomState.
Source§impl ToBoundedStatic for Months
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for Months
No-op ToBoundedStatic impl for this Copy type.
Source§impl ToBoundedStatic for NaiveDate
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for NaiveDate
No-op ToBoundedStatic impl for this Copy type.
Source§impl ToBoundedStatic for NaiveDateTime
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for NaiveDateTime
No-op ToBoundedStatic impl for this Copy type.
Source§impl ToBoundedStatic for IsoWeek
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for IsoWeek
No-op ToBoundedStatic impl for this Copy type.
Source§impl ToBoundedStatic for Days
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for Days
No-op ToBoundedStatic impl for this Copy type.
Source§impl ToBoundedStatic for NaiveTime
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for NaiveTime
No-op ToBoundedStatic impl for this Copy type.
Source§impl ToBoundedStatic for FixedOffset
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for FixedOffset
No-op ToBoundedStatic impl for this Copy type.
Source§impl ToBoundedStatic for Local
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for Local
No-op ToBoundedStatic impl for this Copy type.
Source§impl ToBoundedStatic for Utc
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for Utc
No-op ToBoundedStatic impl for this Copy type.
Source§impl ToBoundedStatic for TimeDelta
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for TimeDelta
No-op ToBoundedStatic impl for this Copy type.
Source§impl ToBoundedStatic for SmolStr
Available on crate feature smol_str only.ToBoundedStatic impl for smol_str::SmolStr.
impl ToBoundedStatic for SmolStr
smol_str only.ToBoundedStatic impl for smol_str::SmolStr.
Source§impl ToBoundedStatic for NonZeroI8
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for NonZeroI8
No-op ToBoundedStatic impl for this Copy type.
Source§impl ToBoundedStatic for NonZeroI16
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for NonZeroI16
No-op ToBoundedStatic impl for this Copy type.
Source§impl ToBoundedStatic for NonZeroI32
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for NonZeroI32
No-op ToBoundedStatic impl for this Copy type.
Source§impl ToBoundedStatic for NonZeroI64
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for NonZeroI64
No-op ToBoundedStatic impl for this Copy type.
Source§impl ToBoundedStatic for NonZeroI128
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for NonZeroI128
No-op ToBoundedStatic impl for this Copy type.
Source§impl ToBoundedStatic for NonZeroIsize
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for NonZeroIsize
No-op ToBoundedStatic impl for this Copy type.
Source§impl ToBoundedStatic for NonZeroU8
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for NonZeroU8
No-op ToBoundedStatic impl for this Copy type.
Source§impl ToBoundedStatic for NonZeroU16
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for NonZeroU16
No-op ToBoundedStatic impl for this Copy type.
Source§impl ToBoundedStatic for NonZeroU32
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for NonZeroU32
No-op ToBoundedStatic impl for this Copy type.
Source§impl ToBoundedStatic for NonZeroU64
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for NonZeroU64
No-op ToBoundedStatic impl for this Copy type.
Source§impl ToBoundedStatic for NonZeroU128
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for NonZeroU128
No-op ToBoundedStatic impl for this Copy type.
Source§impl ToBoundedStatic for NonZeroUsize
No-op ToBoundedStatic impl for this Copy type.
impl ToBoundedStatic for NonZeroUsize
No-op ToBoundedStatic impl for this Copy type.
Source§impl<A> ToBoundedStatic for SmallVec<A>
Available on crate feature smallvec only.ToBoundedStatic impl for smallvec::SmallVec.
impl<A> ToBoundedStatic for SmallVec<A>
smallvec only.ToBoundedStatic impl for smallvec::SmallVec.
Source§impl<K, V> ToBoundedStatic for BTreeMap<K, V>
Available on crate feature collections only.Blanket ToBoundedStatic impl for converting BTreeMap<K, V> into BTreeMap<K, V>: 'static.
impl<K, V> ToBoundedStatic for BTreeMap<K, V>
collections only.Blanket ToBoundedStatic impl for converting BTreeMap<K, V> into BTreeMap<K, V>: 'static.
Source§impl<K, V, S> ToBoundedStatic for HashMap<K, V, S>where
K: ToBoundedStatic,
K::Static: Eq + Hash,
V: ToBoundedStatic,
S: ToBoundedStatic,
S::Static: BuildHasher,
Available on crate feature std only.Blanket ToBoundedStatic impl for converting HashMap<K, V> to HashMap<K, V>: 'static.
impl<K, V, S> ToBoundedStatic for HashMap<K, V, S>where
K: ToBoundedStatic,
K::Static: Eq + Hash,
V: ToBoundedStatic,
S: ToBoundedStatic,
S::Static: BuildHasher,
std only.Blanket ToBoundedStatic impl for converting HashMap<K, V> to HashMap<K, V>: 'static.
type Static = HashMap<<K as ToBoundedStatic>::Static, <V as ToBoundedStatic>::Static, <S as ToBoundedStatic>::Static>
fn to_static(&self) -> Self::Static
Source§impl<K, V, S> ToBoundedStatic for AHashMap<K, V, S>where
K: ToBoundedStatic,
K::Static: Eq + Hash,
V: ToBoundedStatic,
S: ToBoundedStatic,
S::Static: BuildHasher,
Available on crate features ahash and std only.Blanket ToBoundedStatic impl for converting ahash::AHashMap<K, V, S> to ahash::AHashMap<K, V, S>: 'static.
impl<K, V, S> ToBoundedStatic for AHashMap<K, V, S>where
K: ToBoundedStatic,
K::Static: Eq + Hash,
V: ToBoundedStatic,
S: ToBoundedStatic,
S::Static: BuildHasher,
ahash and std only.Blanket ToBoundedStatic impl for converting ahash::AHashMap<K, V, S> to ahash::AHashMap<K, V, S>: 'static.
type Static = AHashMap<<K as ToBoundedStatic>::Static, <V as ToBoundedStatic>::Static, <S as ToBoundedStatic>::Static>
fn to_static(&self) -> Self::Static
Source§impl<Mode> ToBoundedStatic for SmartString<Mode>where
Mode: SmartStringMode + 'static,
Available on crate feature smartstring only.ToBoundedStatic impl for smartstring::SmartString.
impl<Mode> ToBoundedStatic for SmartString<Mode>where
Mode: SmartStringMode + 'static,
smartstring only.ToBoundedStatic impl for smartstring::SmartString.
Source§impl<T0: ToBoundedStatic> ToBoundedStatic for (T0,)
Blanket ToBoundedStatic impl for converting tuple (T0,) to (T0,): 'static
impl<T0: ToBoundedStatic> ToBoundedStatic for (T0,)
Blanket ToBoundedStatic impl for converting tuple (T0,) to (T0,): 'static
Source§impl<T1: ToBoundedStatic, T0: ToBoundedStatic> ToBoundedStatic for (T1, T0)
Blanket ToBoundedStatic impl for converting tuple (T1, T0,) to (T1, T0,): 'static
impl<T1: ToBoundedStatic, T0: ToBoundedStatic> ToBoundedStatic for (T1, T0)
Blanket ToBoundedStatic impl for converting tuple (T1, T0,) to (T1, T0,): 'static
Source§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
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
type Static = (<T2 as ToBoundedStatic>::Static, <T1 as ToBoundedStatic>::Static, <T0 as ToBoundedStatic>::Static)
fn to_static(&self) -> Self::Static
Source§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
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
type Static = (<T3 as ToBoundedStatic>::Static, <T2 as ToBoundedStatic>::Static, <T1 as ToBoundedStatic>::Static, <T0 as ToBoundedStatic>::Static)
fn to_static(&self) -> Self::Static
Source§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
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
type Static = (<T4 as ToBoundedStatic>::Static, <T3 as ToBoundedStatic>::Static, <T2 as ToBoundedStatic>::Static, <T1 as ToBoundedStatic>::Static, <T0 as ToBoundedStatic>::Static)
fn to_static(&self) -> Self::Static
Source§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
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
type Static = (<T5 as ToBoundedStatic>::Static, <T4 as ToBoundedStatic>::Static, <T3 as ToBoundedStatic>::Static, <T2 as ToBoundedStatic>::Static, <T1 as ToBoundedStatic>::Static, <T0 as ToBoundedStatic>::Static)
fn to_static(&self) -> Self::Static
Source§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
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
type Static = (<T6 as ToBoundedStatic>::Static, <T5 as ToBoundedStatic>::Static, <T4 as ToBoundedStatic>::Static, <T3 as ToBoundedStatic>::Static, <T2 as ToBoundedStatic>::Static, <T1 as ToBoundedStatic>::Static, <T0 as ToBoundedStatic>::Static)
fn to_static(&self) -> Self::Static
Source§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
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
type Static = (<T7 as ToBoundedStatic>::Static, <T6 as ToBoundedStatic>::Static, <T5 as ToBoundedStatic>::Static, <T4 as ToBoundedStatic>::Static, <T3 as ToBoundedStatic>::Static, <T2 as ToBoundedStatic>::Static, <T1 as ToBoundedStatic>::Static, <T0 as ToBoundedStatic>::Static)
fn to_static(&self) -> Self::Static
Source§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
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
type Static = (<T8 as ToBoundedStatic>::Static, <T7 as ToBoundedStatic>::Static, <T6 as ToBoundedStatic>::Static, <T5 as ToBoundedStatic>::Static, <T4 as ToBoundedStatic>::Static, <T3 as ToBoundedStatic>::Static, <T2 as ToBoundedStatic>::Static, <T1 as ToBoundedStatic>::Static, <T0 as ToBoundedStatic>::Static)
fn to_static(&self) -> Self::Static
Source§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
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
type Static = (<T9 as ToBoundedStatic>::Static, <T8 as ToBoundedStatic>::Static, <T7 as ToBoundedStatic>::Static, <T6 as ToBoundedStatic>::Static, <T5 as ToBoundedStatic>::Static, <T4 as ToBoundedStatic>::Static, <T3 as ToBoundedStatic>::Static, <T2 as ToBoundedStatic>::Static, <T1 as ToBoundedStatic>::Static, <T0 as ToBoundedStatic>::Static)
fn to_static(&self) -> Self::Static
Source§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
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
type Static = (<T10 as ToBoundedStatic>::Static, <T9 as ToBoundedStatic>::Static, <T8 as ToBoundedStatic>::Static, <T7 as ToBoundedStatic>::Static, <T6 as ToBoundedStatic>::Static, <T5 as ToBoundedStatic>::Static, <T4 as ToBoundedStatic>::Static, <T3 as ToBoundedStatic>::Static, <T2 as ToBoundedStatic>::Static, <T1 as ToBoundedStatic>::Static, <T0 as ToBoundedStatic>::Static)
fn to_static(&self) -> Self::Static
Source§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
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
type Static = (<T11 as ToBoundedStatic>::Static, <T10 as ToBoundedStatic>::Static, <T9 as ToBoundedStatic>::Static, <T8 as ToBoundedStatic>::Static, <T7 as ToBoundedStatic>::Static, <T6 as ToBoundedStatic>::Static, <T5 as ToBoundedStatic>::Static, <T4 as ToBoundedStatic>::Static, <T3 as ToBoundedStatic>::Static, <T2 as ToBoundedStatic>::Static, <T1 as ToBoundedStatic>::Static, <T0 as ToBoundedStatic>::Static)
fn to_static(&self) -> Self::Static
Source§impl<T> ToBoundedStatic for Cow<'_, T>
Available on crate feature alloc only.Blanket ToBoundedStatic impl for converting Cow<'a, T: ?Sized> to Cow<'static, T: ?Sized>.
impl<T> ToBoundedStatic for Cow<'_, T>
alloc only.Blanket ToBoundedStatic impl for converting Cow<'a, T: ?Sized> to Cow<'static, T: ?Sized>.
Source§impl<T> ToBoundedStatic for Option<T>where
T: ToBoundedStatic,
Blanket ToBoundedStatic impl for converting Option<T> to Option<T>: 'static.
impl<T> ToBoundedStatic for Option<T>where
T: ToBoundedStatic,
Blanket ToBoundedStatic impl for converting Option<T> to Option<T>: 'static.
Source§impl<T> ToBoundedStatic for Box<T>where
T: ToBoundedStatic,
Available on crate feature alloc only.Blanket ToBoundedStatic impl for converting Box<T> to Box<T>: 'static.
impl<T> ToBoundedStatic for Box<T>where
T: ToBoundedStatic,
alloc only.Blanket ToBoundedStatic impl for converting Box<T> to Box<T>: 'static.
Source§impl<T> ToBoundedStatic for BinaryHeap<T>
Available on crate feature collections only.Blanket ToBoundedStatic impl for converting BinaryHeap<T> into BinaryHeap<T>: 'static.
impl<T> ToBoundedStatic for BinaryHeap<T>
collections only.Blanket ToBoundedStatic impl for converting BinaryHeap<T> into BinaryHeap<T>: 'static.
type Static = BinaryHeap<<T as ToBoundedStatic>::Static>
fn to_static(&self) -> Self::Static
Source§impl<T> ToBoundedStatic for BTreeSet<T>
Available on crate feature collections only.Blanket ToBoundedStatic impl for converting BTreeSet<T> into BTreeSet<T>: 'static.
impl<T> ToBoundedStatic for BTreeSet<T>
collections only.Blanket ToBoundedStatic impl for converting BTreeSet<T> into BTreeSet<T>: 'static.
Source§impl<T> ToBoundedStatic for LinkedList<T>where
T: ToBoundedStatic,
Available on crate feature collections only.Blanket ToBoundedStatic impl for converting LinkedList<T> into LinkedList<T>: 'static.
impl<T> ToBoundedStatic for LinkedList<T>where
T: ToBoundedStatic,
collections only.Blanket ToBoundedStatic impl for converting LinkedList<T> into LinkedList<T>: 'static.
type Static = LinkedList<<T as ToBoundedStatic>::Static>
fn to_static(&self) -> Self::Static
Source§impl<T> ToBoundedStatic for VecDeque<T>where
T: ToBoundedStatic,
Available on crate feature collections only.Blanket ToBoundedStatic impl for converting VecDeque<T> into VecDeque<T>: 'static.
impl<T> ToBoundedStatic for VecDeque<T>where
T: ToBoundedStatic,
collections only.Blanket ToBoundedStatic impl for converting VecDeque<T> into VecDeque<T>: 'static.
Source§impl<T> ToBoundedStatic for Vec<T>where
T: ToBoundedStatic,
Available on crate feature alloc only.Blanket ToBoundedStatic impl for converting Vec<T> to Vec<T>: 'static.
impl<T> ToBoundedStatic for Vec<T>where
T: ToBoundedStatic,
alloc only.Blanket ToBoundedStatic impl for converting Vec<T> to Vec<T>: 'static.
Source§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.
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.
Source§impl<T, S> ToBoundedStatic for HashSet<T, S>
Available on crate feature std only.Blanket ToBoundedStatic impl for converting HashSet<T> into HashSet<T>: 'static.
impl<T, S> ToBoundedStatic for HashSet<T, S>
std only.Blanket ToBoundedStatic impl for converting HashSet<T> into HashSet<T>: 'static.
Source§impl<T, S> ToBoundedStatic for AHashSet<T, S>
Available on crate features ahash and std only.Blanket ToBoundedStatic impl for converting ahash::AHashSet<T, S> to ahash::AHashSet<T, S>: 'static.
impl<T, S> ToBoundedStatic for AHashSet<T, S>
ahash and std only.Blanket ToBoundedStatic impl for converting ahash::AHashSet<T, S> to ahash::AHashSet<T, S>: 'static.
Source§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.
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.
Source§impl<Tz> ToBoundedStatic for DateTime<Tz>
Available on crate feature chrono only.Blanket ToBoundedStatic impl for converting chrono::DateTime<Tz> into chrono::DateTime<Tz>: 'static.
impl<Tz> ToBoundedStatic for DateTime<Tz>
chrono only.Blanket ToBoundedStatic impl for converting chrono::DateTime<Tz> into chrono::DateTime<Tz>: 'static.