pub struct PlayUpdateLightSpec {
pub chunk: ChunkPosition<VarInt>,
pub update: LightingUpdateSpec,
}
Fields§
§chunk: ChunkPosition<VarInt>
§update: LightingUpdateSpec
Trait Implementations§
Source§impl Clone for PlayUpdateLightSpec
impl Clone for PlayUpdateLightSpec
Source§fn clone(&self) -> PlayUpdateLightSpec
fn clone(&self) -> PlayUpdateLightSpec
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 PlayUpdateLightSpec
impl Debug for PlayUpdateLightSpec
Source§impl Deserialize for PlayUpdateLightSpec
impl Deserialize for PlayUpdateLightSpec
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<(ChunkPosition<VarInt>, LightingUpdateSpec)> for PlayUpdateLightSpec
impl From<(ChunkPosition<VarInt>, LightingUpdateSpec)> for PlayUpdateLightSpec
Source§fn from(other: (ChunkPosition<VarInt>, LightingUpdateSpec)) -> Self
fn from(other: (ChunkPosition<VarInt>, LightingUpdateSpec)) -> Self
Converts to this type from the input type.
Source§impl From<PlayUpdateLightSpec> for (ChunkPosition<VarInt>, LightingUpdateSpec)
impl From<PlayUpdateLightSpec> for (ChunkPosition<VarInt>, LightingUpdateSpec)
Source§fn from(other: PlayUpdateLightSpec) -> Self
fn from(other: PlayUpdateLightSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PlayUpdateLightSpec
impl PartialEq for PlayUpdateLightSpec
Source§impl Serialize for PlayUpdateLightSpec
impl Serialize for PlayUpdateLightSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for PlayUpdateLightSpec
Auto Trait Implementations§
impl Freeze for PlayUpdateLightSpec
impl RefUnwindSafe for PlayUpdateLightSpec
impl Send for PlayUpdateLightSpec
impl Sync for PlayUpdateLightSpec
impl Unpin for PlayUpdateLightSpec
impl UnwindSafe for PlayUpdateLightSpec
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