pub struct OnPreBuild;Expand description
Called when players uses an item to build something. Called before on_built_entity.
Implementations§
Trait Implementations§
Source§impl Clone for OnPreBuild
impl Clone for OnPreBuild
Source§fn clone(&self) -> OnPreBuild
fn clone(&self) -> OnPreBuild
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OnPreBuild
Source§impl Debug for OnPreBuild
impl Debug for OnPreBuild
impl Eq for OnPreBuild
Source§impl PartialEq for OnPreBuild
impl PartialEq for OnPreBuild
impl StructuralPartialEq for OnPreBuild
Auto Trait Implementations§
impl Freeze for OnPreBuild
impl RefUnwindSafe for OnPreBuild
impl Send for OnPreBuild
impl Sync for OnPreBuild
impl Unpin for OnPreBuild
impl UnsafeUnpin for OnPreBuild
impl UnwindSafe for OnPreBuild
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