pub struct LightingUpdateSpec {
pub skylight_data: LightingData,
pub blocklight_data: LightingData,
}
Fields§
§skylight_data: LightingData
§blocklight_data: LightingData
Trait Implementations§
Source§impl Clone for LightingUpdateSpec
impl Clone for LightingUpdateSpec
Source§fn clone(&self) -> LightingUpdateSpec
fn clone(&self) -> LightingUpdateSpec
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LightingUpdateSpec
impl Debug for LightingUpdateSpec
Source§impl Deserialize for LightingUpdateSpec
impl Deserialize for LightingUpdateSpec
fn mc_deserialize(data: &[u8]) -> DeserializeResult<'_, Self>
Source§impl PartialEq for LightingUpdateSpec
impl PartialEq for LightingUpdateSpec
Source§impl Serialize for LightingUpdateSpec
impl Serialize for LightingUpdateSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for LightingUpdateSpec
Auto Trait Implementations§
impl Freeze for LightingUpdateSpec
impl RefUnwindSafe for LightingUpdateSpec
impl Send for LightingUpdateSpec
impl Sync for LightingUpdateSpec
impl Unpin for LightingUpdateSpec
impl UnwindSafe for LightingUpdateSpec
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