Struct gtk4::builders::DropTargetAsyncBuilder
source · pub struct DropTargetAsyncBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct DropTargetAsync
objects.
Implementations§
source§impl DropTargetAsyncBuilder
impl DropTargetAsyncBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new DropTargetAsyncBuilder
.
sourcepub fn build(self) -> DropTargetAsync
pub fn build(self) -> DropTargetAsync
Build the DropTargetAsync
.
pub fn actions(self, actions: DragAction) -> Self
pub fn formats(self, formats: &ContentFormats) -> Self
pub fn name(self, name: &str) -> Self
pub fn propagation_limit(self, propagation_limit: PropagationLimit) -> Self
pub fn propagation_phase(self, propagation_phase: PropagationPhase) -> Self
Trait Implementations§
source§impl Clone for DropTargetAsyncBuilder
impl Clone for DropTargetAsyncBuilder
source§fn clone(&self) -> DropTargetAsyncBuilder
fn clone(&self) -> DropTargetAsyncBuilder
Returns a copy 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 moresource§impl Default for DropTargetAsyncBuilder
impl Default for DropTargetAsyncBuilder
source§fn default() -> DropTargetAsyncBuilder
fn default() -> DropTargetAsyncBuilder
Returns the “default value” for a type. Read more