[][src]Trait pebble_sys::standard_c::memory::CastUncheckedMutExt

pub trait CastUncheckedMutExt<'a> {
    unsafe fn cast_unchecked_mut<T>(self) -> &'a mut T;
}

Required methods

unsafe fn cast_unchecked_mut<T>(self) -> &'a mut T

Casts a mutable untyped heap reference ([`&mut void]) into a typed one.

Safety

Horribly unsafe if T doesn't point to an initialised instance of T.

Loading content...

Implementors

impl<'a> CastUncheckedMutExt<'a> for &'a mut void[src]

Loading content...