pub struct OnSurfaceImportedEvent {
pub name: &'static str,
pub original_name: &'static str,
pub surface_index: u32,
pub tick: u32,
}Expand description
Called after a surface is imported via the map editor.
Fields§
§name: &'static str§original_name: &'static str§surface_index: u32§tick: u32Trait Implementations§
Source§impl Clone for OnSurfaceImportedEvent
impl Clone for OnSurfaceImportedEvent
Source§fn clone(&self) -> OnSurfaceImportedEvent
fn clone(&self) -> OnSurfaceImportedEvent
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 OnSurfaceImportedEvent
Source§impl Debug for OnSurfaceImportedEvent
impl Debug for OnSurfaceImportedEvent
Source§impl Default for OnSurfaceImportedEvent
impl Default for OnSurfaceImportedEvent
Source§fn default() -> OnSurfaceImportedEvent
fn default() -> OnSurfaceImportedEvent
Returns the “default value” for a type. Read more
Source§impl PartialEq for OnSurfaceImportedEvent
impl PartialEq for OnSurfaceImportedEvent
impl StructuralPartialEq for OnSurfaceImportedEvent
Auto Trait Implementations§
impl Freeze for OnSurfaceImportedEvent
impl RefUnwindSafe for OnSurfaceImportedEvent
impl Send for OnSurfaceImportedEvent
impl Sync for OnSurfaceImportedEvent
impl Unpin for OnSurfaceImportedEvent
impl UnsafeUnpin for OnSurfaceImportedEvent
impl UnwindSafe for OnSurfaceImportedEvent
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