pub struct DropDownButton { /* private fields */ }Implementations§
Source§impl DropDownButton
impl DropDownButton
pub fn new() -> Self
pub fn is_enabled(self, value: impl Into<Option<bool>>) -> Self
pub fn on_click(self, callback: impl IntoUnitCallback) -> Self
Trait Implementations§
Source§impl Clone for DropDownButton
impl Clone for DropDownButton
Source§fn clone(&self) -> DropDownButton
fn clone(&self) -> DropDownButton
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 moreSource§impl ContentControl for DropDownButton
impl ContentControl for DropDownButton
Source§impl Debug for DropDownButton
impl Debug for DropDownButton
Source§impl Default for DropDownButton
impl Default for DropDownButton
Source§fn default() -> DropDownButton
fn default() -> DropDownButton
Returns the “default value” for a type. Read more
Source§impl From<DropDownButton> for View
impl From<DropDownButton> for View
Source§fn from(value: DropDownButton) -> Self
fn from(value: DropDownButton) -> Self
Converts to this type from the input type.
Source§impl LayoutControl for DropDownButton
impl LayoutControl for DropDownButton
fn width(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn height(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn min_width(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn max_width(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn min_height(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn max_height(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn opacity(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn horizontal_alignment(
self,
value: impl Into<Option<HorizontalAlignment>>,
) -> Selfwhere
Self: Sized,
fn vertical_alignment(self, value: impl Into<Option<VerticalAlignment>>) -> Selfwhere
Self: Sized,
fn margin(self, value: impl Into<Thickness>) -> Selfwhere
Self: Sized,
fn margin_optional<T>(self, value: Option<T>) -> Self
fn exit_transition(self, transition: ExitTransition) -> Selfwhere
Self: Sized,
Source§impl PartialEq for DropDownButton
impl PartialEq for DropDownButton
impl StructuralPartialEq for DropDownButton
Auto Trait Implementations§
impl !RefUnwindSafe for DropDownButton
impl !Send for DropDownButton
impl !Sync for DropDownButton
impl !UnwindSafe for DropDownButton
impl Freeze for DropDownButton
impl Unpin for DropDownButton
impl UnsafeUnpin for DropDownButton
Blanket Implementations§
Source§impl<T> AutomationExt for Twhere
T: LayoutControl,
impl<T> AutomationExt for Twhere
T: LayoutControl,
fn automation_name(self, value: impl Into<String>) -> Self
fn automation_id(self, value: impl Into<String>) -> Self
fn automation_heading_level(self, value: AutomationHeadingLevel) -> Self
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