pub trait DragSurfaceExt: 'static {
    fn present(&self, width: i32, height: i32) -> bool;
}
Expand description

Trait containing all DragSurface methods.

Implementors

DragSurface

Required Methods§

Present @self.

width

the unconstrained drag_surface width to layout

height

the unconstrained drag_surface height to layout

Returns

false if it failed to be presented, otherwise true.

Implementors§