#[repr(C)]pub struct _Lighting {Show 14 fields
pub FreeState: Option<unsafe extern "C" fn()>,
pub AllocState: Option<unsafe extern "C" fn()>,
pub LightHint: Option<unsafe extern "C" fn(startX: c_int, startY: c_int, startZ: c_int)>,
pub OnBlockChanged: Option<unsafe extern "C" fn(x: c_int, y: c_int, z: c_int, oldBlock: BlockID, newBlock: BlockID)>,
pub Refresh: Option<unsafe extern "C" fn()>,
pub IsLit: Option<unsafe extern "C" fn(x: c_int, y: c_int, z: c_int) -> cc_bool>,
pub Color: Option<unsafe extern "C" fn(x: c_int, y: c_int, z: c_int) -> PackedCol>,
pub Color_XSide: Option<unsafe extern "C" fn(x: c_int, y: c_int, z: c_int) -> PackedCol>,
pub IsLit_Fast: Option<unsafe extern "C" fn(x: c_int, y: c_int, z: c_int) -> cc_bool>,
pub Color_Sprite_Fast: Option<unsafe extern "C" fn(x: c_int, y: c_int, z: c_int) -> PackedCol>,
pub Color_YMax_Fast: Option<unsafe extern "C" fn(x: c_int, y: c_int, z: c_int) -> PackedCol>,
pub Color_YMin_Fast: Option<unsafe extern "C" fn(x: c_int, y: c_int, z: c_int) -> PackedCol>,
pub Color_XSide_Fast: Option<unsafe extern "C" fn(x: c_int, y: c_int, z: c_int) -> PackedCol>,
pub Color_ZSide_Fast: Option<unsafe extern "C" fn(x: c_int, y: c_int, z: c_int) -> PackedCol>,
}Fields§
§FreeState: Option<unsafe extern "C" fn()>§AllocState: Option<unsafe extern "C" fn()>§LightHint: Option<unsafe extern "C" fn(startX: c_int, startY: c_int, startZ: c_int)>§OnBlockChanged: Option<unsafe extern "C" fn(x: c_int, y: c_int, z: c_int, oldBlock: BlockID, newBlock: BlockID)>§Refresh: Option<unsafe extern "C" fn()>§IsLit: Option<unsafe extern "C" fn(x: c_int, y: c_int, z: c_int) -> cc_bool>§Color: Option<unsafe extern "C" fn(x: c_int, y: c_int, z: c_int) -> PackedCol>§Color_XSide: Option<unsafe extern "C" fn(x: c_int, y: c_int, z: c_int) -> PackedCol>§IsLit_Fast: Option<unsafe extern "C" fn(x: c_int, y: c_int, z: c_int) -> cc_bool>§Color_Sprite_Fast: Option<unsafe extern "C" fn(x: c_int, y: c_int, z: c_int) -> PackedCol>§Color_YMax_Fast: Option<unsafe extern "C" fn(x: c_int, y: c_int, z: c_int) -> PackedCol>§Color_YMin_Fast: Option<unsafe extern "C" fn(x: c_int, y: c_int, z: c_int) -> PackedCol>§Color_XSide_Fast: Option<unsafe extern "C" fn(x: c_int, y: c_int, z: c_int) -> PackedCol>§Color_ZSide_Fast: Option<unsafe extern "C" fn(x: c_int, y: c_int, z: c_int) -> PackedCol>Trait Implementations§
impl Copy for _Lighting
impl Eq for _Lighting
impl StructuralPartialEq for _Lighting
Auto Trait Implementations§
impl Freeze for _Lighting
impl RefUnwindSafe for _Lighting
impl Send for _Lighting
impl Sync for _Lighting
impl Unpin for _Lighting
impl UnwindSafe for _Lighting
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more