pub trait TileHandlerExt: IsA<TileHandler> + Sealed + 'static {
    // Provided methods
    fn damage_rect(&self, rect: &Rectangle) { ... }
    fn damage_tile(&self, x: i32, y: i32, z: i32, damage: u64) { ... }
    fn lock(&self) { ... }
    fn set_source(&self, source: &impl IsA<TileSource>) { ... }
    fn unlock(&self) { ... }
    fn connect_source_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId { ... }
}
Expand description

Trait containing all TileHandler methods.

Implementors

Buffer, TileHandler

Provided Methods§

source

fn damage_rect(&self, rect: &Rectangle)

source

fn damage_tile(&self, x: i32, y: i32, z: i32, damage: u64)

source

fn lock(&self)

source

fn set_source(&self, source: &impl IsA<TileSource>)

source

fn unlock(&self)

source

fn connect_source_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

Implementors§