Struct BlockEntityViewDistanceEvent
pub struct BlockEntityViewDistanceEvent<'a> {
pub block: &'a str,
pub distance: f64,
}Expand description
What BlockEntityPart::block_entity_view_distance is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§block: &'a str§distance: f64Auto Trait Implementations§
impl<'a> Freeze for BlockEntityViewDistanceEvent<'a>
impl<'a> RefUnwindSafe for BlockEntityViewDistanceEvent<'a>
impl<'a> Send for BlockEntityViewDistanceEvent<'a>
impl<'a> Sync for BlockEntityViewDistanceEvent<'a>
impl<'a> Unpin for BlockEntityViewDistanceEvent<'a>
impl<'a> UnsafeUnpin for BlockEntityViewDistanceEvent<'a>
impl<'a> UnwindSafe for BlockEntityViewDistanceEvent<'a>
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