pub struct BrowserControlsProps {Show 39 fields
pub show_controls: bool,
pub class: &'static str,
pub style: &'static str,
pub on_close: EventHandler<()>,
pub on_close_mouse_over: EventHandler<()>,
pub on_close_mouse_out: EventHandler<()>,
pub on_close_focus: EventHandler<FocusEvent>,
pub on_close_blur: EventHandler<FocusEvent>,
pub close_class: &'static str,
pub close_svg_class: &'static str,
pub close_path_class: &'static str,
pub close_button_type: &'static str,
pub close_aria_label: &'static str,
pub close_title: &'static str,
pub close_tabindex: &'static str,
pub on_minimize: EventHandler<()>,
pub on_minimize_mouse_over: EventHandler<()>,
pub on_minimize_mouse_out: EventHandler<()>,
pub on_minimize_focus: EventHandler<FocusEvent>,
pub on_minimize_blur: EventHandler<FocusEvent>,
pub minimize_class: &'static str,
pub minimize_svg_class: &'static str,
pub minimize_path_class: &'static str,
pub minimize_button_type: &'static str,
pub minimize_aria_label: &'static str,
pub minimize_title: &'static str,
pub minimize_tabindex: &'static str,
pub on_maximize: EventHandler<()>,
pub on_maximize_mouse_over: EventHandler<()>,
pub on_maximize_mouse_out: EventHandler<()>,
pub on_maximize_focus: EventHandler<FocusEvent>,
pub on_maximize_blur: EventHandler<FocusEvent>,
pub maximize_class: &'static str,
pub maximize_svg_class: &'static str,
pub maximize_path_class: &'static str,
pub maximize_button_type: &'static str,
pub maximize_aria_label: &'static str,
pub maximize_title: &'static str,
pub maximize_tabindex: &'static str,
}
dio
only.Fieldsยง
ยงshow_controls: bool
ยงclass: &'static str
ยงstyle: &'static str
ยงon_close: EventHandler<()>
ยงon_close_mouse_over: EventHandler<()>
ยงon_close_mouse_out: EventHandler<()>
ยงon_close_focus: EventHandler<FocusEvent>
ยงon_close_blur: EventHandler<FocusEvent>
ยงclose_class: &'static str
ยงclose_svg_class: &'static str
ยงclose_path_class: &'static str
ยงclose_aria_label: &'static str
ยงclose_title: &'static str
ยงclose_tabindex: &'static str
ยงon_minimize: EventHandler<()>
ยงon_minimize_mouse_over: EventHandler<()>
ยงon_minimize_mouse_out: EventHandler<()>
ยงon_minimize_focus: EventHandler<FocusEvent>
ยงon_minimize_blur: EventHandler<FocusEvent>
ยงminimize_class: &'static str
ยงminimize_svg_class: &'static str
ยงminimize_path_class: &'static str
ยงminimize_aria_label: &'static str
ยงminimize_title: &'static str
ยงminimize_tabindex: &'static str
ยงon_maximize: EventHandler<()>
ยงon_maximize_mouse_over: EventHandler<()>
ยงon_maximize_mouse_out: EventHandler<()>
ยงon_maximize_focus: EventHandler<FocusEvent>
ยงon_maximize_blur: EventHandler<FocusEvent>
ยงmaximize_class: &'static str
ยงmaximize_svg_class: &'static str
ยงmaximize_path_class: &'static str
ยงmaximize_aria_label: &'static str
ยงmaximize_title: &'static str
ยงmaximize_tabindex: &'static str
Implementationsยง
Sourceยงimpl BrowserControlsProps
impl BrowserControlsProps
Sourcepub fn builder() -> BrowserControlsPropsBuilder<((), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), ())>
pub fn builder() -> BrowserControlsPropsBuilder<((), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), ())>
Create a builder for building BrowserControlsProps
.
On the builder, call .show_controls(...)
(optional), .class(...)
(optional), .style(...)
(optional), .on_close(...)
(optional), .on_close_mouse_over(...)
(optional), .on_close_mouse_out(...)
(optional), .on_close_focus(...)
(optional), .on_close_blur(...)
(optional), .close_class(...)
(optional), .close_svg_class(...)
(optional), .close_path_class(...)
(optional), .close_button_type(...)
(optional), .close_aria_label(...)
(optional), .close_title(...)
(optional), .close_tabindex(...)
(optional), .on_minimize(...)
(optional), .on_minimize_mouse_over(...)
(optional), .on_minimize_mouse_out(...)
(optional), .on_minimize_focus(...)
(optional), .on_minimize_blur(...)
(optional), .minimize_class(...)
(optional), .minimize_svg_class(...)
(optional), .minimize_path_class(...)
(optional), .minimize_button_type(...)
(optional), .minimize_aria_label(...)
(optional), .minimize_title(...)
(optional), .minimize_tabindex(...)
(optional), .on_maximize(...)
(optional), .on_maximize_mouse_over(...)
(optional), .on_maximize_mouse_out(...)
(optional), .on_maximize_focus(...)
(optional), .on_maximize_blur(...)
(optional), .maximize_class(...)
(optional), .maximize_svg_class(...)
(optional), .maximize_path_class(...)
(optional), .maximize_button_type(...)
(optional), .maximize_aria_label(...)
(optional), .maximize_title(...)
(optional), .maximize_tabindex(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of BrowserControlsProps
.
Trait Implementationsยง
Sourceยงimpl Clone for BrowserControlsProps
impl Clone for BrowserControlsProps
Sourceยงfn clone(&self) -> BrowserControlsProps
fn clone(&self) -> BrowserControlsProps
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSourceยงimpl PartialEq for BrowserControlsProps
impl PartialEq for BrowserControlsProps
Sourceยงimpl Properties for BrowserControlsPropswhere
Self: Clone,
impl Properties for BrowserControlsPropswhere
Self: Clone,
Sourceยงtype Builder = BrowserControlsPropsBuilder<((), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), ())>
type Builder = BrowserControlsPropsBuilder<((), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), ())>
Sourceยงfn memoize(&mut self, new: &Self) -> bool
fn memoize(&mut self, new: &Self) -> bool
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,
impl StructuralPartialEq for BrowserControlsProps
Auto Trait Implementationsยง
impl Freeze for BrowserControlsProps
impl !RefUnwindSafe for BrowserControlsProps
impl !Send for BrowserControlsProps
impl !Sync for BrowserControlsProps
impl Unpin for BrowserControlsProps
impl !UnwindSafe for BrowserControlsProps
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
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
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>
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
self
to a value of a Properties
struct.