Struct toolshed::list::UnsafeList
[−]
[src]
pub struct UnsafeList { /* fields omitted */ }
Unsafe variant of the List
that erases any lifetime information.
Methods
impl UnsafeList
[src]
unsafe fn into_list<'arena, T: 'arena>(self) -> List<'arena, T>
[src]
Converts the UnsafeList
into a regular List
. Using this with
incorrect lifetimes of after the original arena has been dropped
will lead to undefined behavior. Use with extreme care.
Trait Implementations
impl Debug for UnsafeList
[src]
impl Clone for UnsafeList
[src]
fn clone(&self) -> UnsafeList
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more