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