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> into 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] into [T; const N: usize]: '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.