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

Trait containing all DragSurface methods.

Implementors

DragSurface

Required Methods§

source

fn present(&self, width: i32, height: i32) -> bool

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§