pub struct LightData {
pub sky_light_mask: BitSet,
pub block_light_mask: BitSet,
pub empty_sky_light_mask: BitSet,
pub empty_block_light_mask: BitSet,
pub sky_light_arrays: PrefixedArray<PrefixedArray<Byte>>,
pub block_light_arrays: PrefixedArray<PrefixedArray<Byte>>,
}
Fields§
§sky_light_mask: BitSet
§block_light_mask: BitSet
§empty_sky_light_mask: BitSet
§empty_block_light_mask: BitSet
§sky_light_arrays: PrefixedArray<PrefixedArray<Byte>>
§block_light_arrays: PrefixedArray<PrefixedArray<Byte>>
Implementations§
Source§impl LightData
impl LightData
pub fn new( sky_light_mask: BitSet, block_light_mask: BitSet, empty_sky_light_mask: BitSet, empty_block_light_mask: BitSet, sky_light_arrays: PrefixedArray<PrefixedArray<Byte>>, block_light_arrays: PrefixedArray<PrefixedArray<Byte>>, ) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LightData
impl RefUnwindSafe for LightData
impl Send for LightData
impl Sync for LightData
impl Unpin for LightData
impl UnwindSafe for LightData
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