pub struct DropZoneStyleConfig {
pub state: Signal<DropZoneVisualState>,
pub content: WidgetId,
}Expand description
Inputs handed to a DropZoneStyle to build the zone’s chrome.
Fields§
§state: Signal<DropZoneVisualState>Reactive interaction state — bind surface/border colors to it.
content: WidgetIdPre-built content column (icon / prompt / subtitle / status line / Browse button) the chrome centers and pads.
Trait Implementations§
Source§impl Clone for DropZoneStyleConfig
impl Clone for DropZoneStyleConfig
Source§fn clone(&self) -> DropZoneStyleConfig
fn clone(&self) -> DropZoneStyleConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for DropZoneStyleConfig
impl !Send for DropZoneStyleConfig
impl !Sync for DropZoneStyleConfig
impl !UnwindSafe for DropZoneStyleConfig
impl Freeze for DropZoneStyleConfig
impl Unpin for DropZoneStyleConfig
impl UnsafeUnpin for DropZoneStyleConfig
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