pub struct MeterBuilder { /* private fields */ }
Implementations§
Source§impl MeterBuilder
impl MeterBuilder
pub fn new() -> Self
pub fn build(self, location: (u32, u32)) -> RawElement
pub fn key<S: ToString>(self, key: S, _updated: bool) -> Self
pub fn child(self, child: View, updated: bool) -> Self
pub fn children<T: Into<Vec<View>>>(self, children: T, updated: bool) -> Self
pub fn __last<T: Into<Vec<View>>>(self, children: T, updated: bool) -> Self
Source§impl MeterBuilder
impl MeterBuilder
pub fn access_key<T>(self, val: T, updated: bool) -> Self
pub fn class<T>(self, val: T, updated: bool) -> Self
pub fn content_editable<T>(self, val: T, updated: bool) -> Self
pub fn dir<T>(self, val: T, updated: bool) -> Self
pub fn draggable<T>(self, val: T, updated: bool) -> Self
pub fn id<T>(self, val: T, updated: bool) -> Self
pub fn lang<T>(self, val: T, updated: bool) -> Self
pub fn placeholder<T>(self, val: T, updated: bool) -> Self
pub fn slot<T>(self, val: T, updated: bool) -> Self
pub fn spell_check<T>(self, val: T, updated: bool) -> Self
pub fn style<T>(self, val: T, updated: bool) -> Self
pub fn tab_index<T>(self, val: T, updated: bool) -> Self
pub fn title<T>(self, val: T, updated: bool) -> Self
pub fn translate<T>(self, val: T, updated: bool) -> Self
pub fn on_blur( self, f: impl Fn(TypedEvent<FocusEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_focus( self, f: impl Fn(TypedEvent<FocusEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_composition_start( self, f: impl Fn(TypedEvent<CompositionEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_composition_update( self, f: impl Fn(TypedEvent<CompositionEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_composition_end( self, f: impl Fn(TypedEvent<CompositionEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_change( self, f: impl Fn(TypedEvent<Event, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_input( self, f: impl Fn(TypedEvent<Event, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_reset( self, f: impl Fn(TypedEvent<Event, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_submit( self, f: impl Fn(TypedEvent<Event, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_invalid( self, f: impl Fn(TypedEvent<Event, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_load( self, f: impl Fn(TypedEvent<Event, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_error( self, f: impl Fn(TypedEvent<Event, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_key_down( self, f: impl Fn(TypedEvent<KeyboardEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_key_up( self, f: impl Fn(TypedEvent<KeyboardEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_can_play( self, f: impl Fn(TypedEvent<Event, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_can_play_through( self, f: impl Fn(TypedEvent<Event, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_duration_change( self, f: impl Fn(TypedEvent<Event, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_emptied( self, f: impl Fn(TypedEvent<Event, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_ended( self, f: impl Fn(TypedEvent<Event, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_loaded_data( self, f: impl Fn(TypedEvent<Event, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_loaded_metadata( self, f: impl Fn(TypedEvent<Event, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_pause( self, f: impl Fn(TypedEvent<Event, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_play( self, f: impl Fn(TypedEvent<Event, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_playing( self, f: impl Fn(TypedEvent<Event, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_rate_change( self, f: impl Fn(TypedEvent<Event, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_seeked( self, f: impl Fn(TypedEvent<Event, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_seeking( self, f: impl Fn(TypedEvent<Event, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_stalled( self, f: impl Fn(TypedEvent<Event, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_suspend( self, f: impl Fn(TypedEvent<Event, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_time_update( self, f: impl Fn(TypedEvent<Event, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_volume_change( self, f: impl Fn(TypedEvent<Event, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_waiting( self, f: impl Fn(TypedEvent<Event, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_aux_click( self, f: impl Fn(TypedEvent<MouseEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_click( self, f: impl Fn(TypedEvent<MouseEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_double_click( self, f: impl Fn(TypedEvent<MouseEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_mouse_down( self, f: impl Fn(TypedEvent<MouseEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_mouse_enter( self, f: impl Fn(TypedEvent<MouseEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_mouse_leave( self, f: impl Fn(TypedEvent<MouseEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_mouse_move( self, f: impl Fn(TypedEvent<MouseEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_mouse_over( self, f: impl Fn(TypedEvent<MouseEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_mouse_out( self, f: impl Fn(TypedEvent<MouseEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_mouse_up( self, f: impl Fn(TypedEvent<MouseEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_pointer_lock_change( self, f: impl Fn(TypedEvent<Event, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_pointer_lock_error( self, f: impl Fn(TypedEvent<Event, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_select( self, f: impl Fn(TypedEvent<Event, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_wheel( self, f: impl Fn(TypedEvent<WheelEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_drag( self, f: impl Fn(TypedEvent<DragEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_drag_end( self, f: impl Fn(TypedEvent<DragEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_drag_enter( self, f: impl Fn(TypedEvent<DragEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_drag_start( self, f: impl Fn(TypedEvent<DragEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_drag_leave( self, f: impl Fn(TypedEvent<DragEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_drag_over( self, f: impl Fn(TypedEvent<DragEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_drop( self, f: impl Fn(TypedEvent<DragEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_touch_cancel( self, f: impl Fn(TypedEvent<TouchEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_touch_end( self, f: impl Fn(TypedEvent<TouchEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_touch_move( self, f: impl Fn(TypedEvent<TouchEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_touch_start( self, f: impl Fn(TypedEvent<TouchEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_pointer_over( self, f: impl Fn(TypedEvent<PointerEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_pointer_enter( self, f: impl Fn(TypedEvent<PointerEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_pointer_down( self, f: impl Fn(TypedEvent<PointerEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_pointer_move( self, f: impl Fn(TypedEvent<PointerEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_pointer_up( self, f: impl Fn(TypedEvent<PointerEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_pointer_cancel( self, f: impl Fn(TypedEvent<PointerEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_pointer_out( self, f: impl Fn(TypedEvent<PointerEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_pointer_leave( self, f: impl Fn(TypedEvent<PointerEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_got_pointer_capture( self, f: impl Fn(TypedEvent<PointerEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_lost_pointer_capture( self, f: impl Fn(TypedEvent<PointerEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_scroll( self, f: impl Fn(TypedEvent<Event, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_animation_start( self, f: impl Fn(TypedEvent<AnimationEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_animation_cancel( self, f: impl Fn(TypedEvent<AnimationEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_animation_end( self, f: impl Fn(TypedEvent<AnimationEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_animation_interaction( self, f: impl Fn(TypedEvent<AnimationEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_transition_start( self, f: impl Fn(TypedEvent<TransitionEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_transition_cancel( self, f: impl Fn(TypedEvent<TransitionEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_transition_end( self, f: impl Fn(TypedEvent<TransitionEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_transition_run( self, f: impl Fn(TypedEvent<TransitionEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_abort( self, f: impl Fn(TypedEvent<Event, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_load_start( self, f: impl Fn(TypedEvent<ProgressEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
pub fn on_progress( self, f: impl Fn(TypedEvent<ProgressEvent, <MeterBuilder as AssociatedNativeElement>::NativeElement>) + 'static, updated: bool, ) -> Self
Source§impl MeterBuilder
impl MeterBuilder
pub fn min<T>(self, val: T, updated: bool) -> Self
pub fn max<T>(self, val: T, updated: bool) -> Self
pub fn low<T>(self, val: T, updated: bool) -> Self
pub fn high<T>(self, val: T, updated: bool) -> Self
pub fn optimum<T>(self, val: T, updated: bool) -> Self
pub fn form<T>(self, val: T, updated: bool) -> Self
pub fn value<T>(self, val: T, updated: bool) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MeterBuilder
impl !RefUnwindSafe for MeterBuilder
impl !Send for MeterBuilder
impl !Sync for MeterBuilder
impl Unpin for MeterBuilder
impl !UnwindSafe for MeterBuilder
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> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.