pub struct AddressBarProps {Show 14 fields
pub url: String,
pub placeholder: &'static str,
pub on_url_change: EventHandler<FormEvent>,
pub read_only: bool,
pub class: &'static str,
pub style: &'static str,
pub label: &'static str,
pub describedby: &'static str,
pub input_id: &'static str,
pub input_class: &'static str,
pub container_class: &'static str,
pub refresh_button_style: &'static str,
pub refresh_button_aria_label: &'static str,
pub input_style: &'static str,
}
Available on crate feature
dio
only.Fieldsยง
ยงurl: String
ยงplaceholder: &'static str
ยงon_url_change: EventHandler<FormEvent>
ยงread_only: bool
ยงclass: &'static str
ยงstyle: &'static str
ยงlabel: &'static str
ยงdescribedby: &'static str
ยงinput_id: &'static str
ยงinput_class: &'static str
ยงcontainer_class: &'static str
ยงinput_style: &'static str
Implementationsยง
Sourceยงimpl AddressBarProps
impl AddressBarProps
Sourcepub fn builder() -> AddressBarPropsBuilder<((), (), (), (), (), (), (), (), (), (), (), (), (), ())>
pub fn builder() -> AddressBarPropsBuilder<((), (), (), (), (), (), (), (), (), (), (), (), (), ())>
Create a builder for building AddressBarProps
.
On the builder, call .url(...)
(optional), .placeholder(...)
(optional), .on_url_change(...)
(optional), .read_only(...)
(optional), .class(...)
(optional), .style(...)
(optional), .label(...)
(optional), .describedby(...)
(optional), .input_id(...)
(optional), .input_class(...)
(optional), .container_class(...)
(optional), .refresh_button_style(...)
(optional), .refresh_button_aria_label(...)
(optional), .input_style(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of AddressBarProps
.
Trait Implementationsยง
Sourceยงimpl Clone for AddressBarProps
impl Clone for AddressBarProps
Sourceยงfn clone(&self) -> AddressBarProps
fn clone(&self) -> AddressBarProps
Returns a duplicate 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 PartialEq for AddressBarProps
impl PartialEq for AddressBarProps
Sourceยงimpl Properties for AddressBarPropswhere
Self: Clone,
impl Properties for AddressBarPropswhere
Self: Clone,
Sourceยงtype Builder = AddressBarPropsBuilder<((), (), (), (), (), (), (), (), (), (), (), (), (), ())>
type Builder = AddressBarPropsBuilder<((), (), (), (), (), (), (), (), (), (), (), (), (), ())>
The type of the builder for this component.
Used to create โin-progressโ versions of the props.
Sourceยงfn memoize(&mut self, new: &Self) -> bool
fn memoize(&mut self, new: &Self) -> bool
Make the old props equal to the new props. Return if the props were equal and should be memoized.
Sourceยงfn into_vcomponent<M>(
self,
render_fn: impl ComponentFunction<Self, M>,
) -> VComponentwhere
M: 'static,
fn into_vcomponent<M>(
self,
render_fn: impl ComponentFunction<Self, M>,
) -> VComponentwhere
M: 'static,
Create a component from the props.
impl StructuralPartialEq for AddressBarProps
Auto Trait Implementationsยง
impl Freeze for AddressBarProps
impl !RefUnwindSafe for AddressBarProps
impl !Send for AddressBarProps
impl !Sync for AddressBarProps
impl Unpin for AddressBarProps
impl !UnwindSafe for AddressBarProps
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> InitializeFromFunction<T> for T
impl<T> InitializeFromFunction<T> for T
Sourceยงfn initialize_from_function(f: fn() -> T) -> T
fn initialize_from_function(f: fn() -> T) -> T
Create an instance of this type from an initialization function
Sourceยงimpl<T> Instrument for T
impl<T> Instrument for T
Sourceยงfn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Sourceยงfn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Sourceยงimpl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Sourceยงfn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self
to a value of a Properties
struct.Sourceยงimpl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Sourceยงfn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self
to a value of a Properties
struct.Sourceยงimpl<Ret> SpawnIfAsync<(), Ret> for Ret
impl<Ret> SpawnIfAsync<(), Ret> for Ret
Sourceยงimpl<T, O> SuperFrom<T> for Owhere
O: From<T>,
impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
Sourceยงfn super_from(input: T) -> O
fn super_from(input: T) -> O
Convert from a type to another type.
Sourceยงimpl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
Sourceยงfn super_into(self) -> O
fn super_into(self) -> O
Convert from a type to another type.