pub struct LightUpdate {
pub x: i32,
pub y: i32,
pub z: i32,
pub level: u8,
}Expand description
A pending light level change at a world-space position.
Fields§
§x: i32§y: i32§z: i32§level: u8Implementations§
Trait Implementations§
Source§impl Clone for LightUpdate
impl Clone for LightUpdate
Source§fn clone(&self) -> LightUpdate
fn clone(&self) -> LightUpdate
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 LightUpdate
impl Debug for LightUpdate
Source§impl PartialEq for LightUpdate
impl PartialEq for LightUpdate
impl Copy for LightUpdate
impl Eq for LightUpdate
impl StructuralPartialEq for LightUpdate
Auto Trait Implementations§
impl Freeze for LightUpdate
impl RefUnwindSafe for LightUpdate
impl Send for LightUpdate
impl Sync for LightUpdate
impl Unpin for LightUpdate
impl UnsafeUnpin for LightUpdate
impl UnwindSafe for LightUpdate
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