pub struct FilteredComponentArguments {
pub types: Vec<(String, String)>,
pub values: BTreeMap<String, String>,
pub accepts_text: bool,
}
Fields§
§types: Vec<(String, String)>
The types of the component, i.e. date => String
, in order
values: BTreeMap<String, String>
The types of the component, i.e. date => "01.01.1998"
accepts_text: bool
Whether this widget accepts text. Note that this will be passed as the first argument when rendering the Rust code.
Trait Implementations§
Source§impl Clone for FilteredComponentArguments
impl Clone for FilteredComponentArguments
Source§fn clone(&self) -> FilteredComponentArguments
fn clone(&self) -> FilteredComponentArguments
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 FilteredComponentArguments
impl Debug for FilteredComponentArguments
Source§impl Default for FilteredComponentArguments
impl Default for FilteredComponentArguments
Source§fn default() -> FilteredComponentArguments
fn default() -> FilteredComponentArguments
Returns the “default value” for a type. Read more
Source§impl Hash for FilteredComponentArguments
impl Hash for FilteredComponentArguments
Source§impl Ord for FilteredComponentArguments
impl Ord for FilteredComponentArguments
Source§fn cmp(&self, other: &FilteredComponentArguments) -> Ordering
fn cmp(&self, other: &FilteredComponentArguments) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for FilteredComponentArguments
impl PartialOrd for FilteredComponentArguments
impl Eq for FilteredComponentArguments
impl StructuralPartialEq for FilteredComponentArguments
Auto Trait Implementations§
impl Freeze for FilteredComponentArguments
impl RefUnwindSafe for FilteredComponentArguments
impl Send for FilteredComponentArguments
impl Sync for FilteredComponentArguments
impl Unpin for FilteredComponentArguments
impl UnwindSafe for FilteredComponentArguments
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more