Struct TileActionEvent
#[non_exhaustive]pub struct TileActionEvent {
pub operation: TileOperation,
pub tile_id: TileId,
pub source_id: String,
}Expand description
Tile-action event payload.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.operation: TileOperation§tile_id: TileId§source_id: StringTrait Implementations§
§impl Clone for TileActionEvent
impl Clone for TileActionEvent
§fn clone(&self) -> TileActionEvent
fn clone(&self) -> TileActionEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for TileActionEvent
impl Debug for TileActionEvent
§impl Hash for TileActionEvent
impl Hash for TileActionEvent
§impl PartialEq for TileActionEvent
impl PartialEq for TileActionEvent
impl Eq for TileActionEvent
impl StructuralPartialEq for TileActionEvent
Auto Trait Implementations§
impl Freeze for TileActionEvent
impl RefUnwindSafe for TileActionEvent
impl Send for TileActionEvent
impl Sync for TileActionEvent
impl Unpin for TileActionEvent
impl UnsafeUnpin for TileActionEvent
impl UnwindSafe for TileActionEvent
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