Struct EntitySizeEvent
pub struct EntitySizeEvent<'a> {
pub entity: EntityRef,
pub pose: Pose,
pub old_size: [f32; 3],
pub size: &'a mut [f32; 3],
}Expand description
What Hooks::entity_size is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§entity: EntityRef§pose: Pose§old_size: [f32; 3]§size: &'a mut [f32; 3]Auto Trait Implementations§
impl<'a> !UnwindSafe for EntitySizeEvent<'a>
impl<'a> Freeze for EntitySizeEvent<'a>
impl<'a> RefUnwindSafe for EntitySizeEvent<'a>
impl<'a> Send for EntitySizeEvent<'a>
impl<'a> Sync for EntitySizeEvent<'a>
impl<'a> Unpin for EntitySizeEvent<'a>
impl<'a> UnsafeUnpin for EntitySizeEvent<'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