Type Alias playdate_sys::ffi::lua_State

source ·
pub type lua_State = *mut c_void;

Trait Implementations§

source§

impl<T> AsRaw for *mut T

§

type Type = T

source§

unsafe fn as_raw(&self) -> *mut T

This method ia actually safe. Unsafety is because so we’re removing owners lifetime that used by some API parts.
source§

impl<T> OkMutOrNullErr<T> for *mut T

source§

fn ok_or_null<'a>(self) -> Result<&'a mut T, NullPtrError>

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.

Size:4 bytes