pub enum UploadDropzoneVariant {
Compact,
Default,
}Expand description
Built-in density choices for an UploadDropzone.
§Examples
use ailloli_ui_widgets::controls::UploadDropzoneVariant;
assert_eq!(UploadDropzoneVariant::default(), UploadDropzoneVariant::Default);Variants§
Compact
260 × 104 logical pixels with smaller typography and button.
Default
360 × 142 logical pixels with standard typography and button.
Trait Implementations§
Source§impl Clone for UploadDropzoneVariant
impl Clone for UploadDropzoneVariant
Source§fn clone(&self) -> UploadDropzoneVariant
fn clone(&self) -> UploadDropzoneVariant
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 Debug for UploadDropzoneVariant
impl Debug for UploadDropzoneVariant
Source§impl Default for UploadDropzoneVariant
impl Default for UploadDropzoneVariant
Source§fn default() -> UploadDropzoneVariant
fn default() -> UploadDropzoneVariant
Returns the “default value” for a type. Read more
Source§impl PartialEq for UploadDropzoneVariant
impl PartialEq for UploadDropzoneVariant
impl Copy for UploadDropzoneVariant
impl Eq for UploadDropzoneVariant
impl StructuralPartialEq for UploadDropzoneVariant
Auto Trait Implementations§
impl Freeze for UploadDropzoneVariant
impl RefUnwindSafe for UploadDropzoneVariant
impl Send for UploadDropzoneVariant
impl Sync for UploadDropzoneVariant
impl Unpin for UploadDropzoneVariant
impl UnwindSafe for UploadDropzoneVariant
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<A> IntoClickAction<A> for Awhere
A: Clone + 'static,
impl<A> IntoClickAction<A> for Awhere
A: Clone + 'static,
§fn into_click_action(self) -> ClickAction<A>
fn into_click_action(self) -> ClickAction<A>
Implements the into_click_action helper used by this module.