pub struct InputText { /* private fields */ }Trait Implementations§
Source§impl Component for InputText
impl Component for InputText
Source§type Properties = Props
type Properties = Props
Properties type of component implementation.
Source§fn create(props: Self::Properties, _: ComponentLink<Self>) -> Self
fn create(props: Self::Properties, _: ComponentLink<Self>) -> Self
Initialization routine which could use a context.
Source§fn update(&mut self, _: Self::Message) -> ShouldRender
fn update(&mut self, _: Self::Message) -> ShouldRender
Called everytime when a messages of
Msg type received. It also takes a
reference to a context.Source§fn change(&mut self, props: Self::Properties) -> ShouldRender
fn change(&mut self, props: Self::Properties) -> ShouldRender
Called when the component’s parent component re-renders and the
component’s place in the DOM tree remains unchanged. If the component’s
place in the DOM tree changes, calling this method is unnecessary as the
component is recreated from scratch. It defaults to true if not implemented
and Self::Properties is not the unit type
().Auto Trait Implementations§
impl !RefUnwindSafe for InputText
impl !Send for InputText
impl !Sync for InputText
impl !UnwindSafe for InputText
impl Freeze for InputText
impl Unpin for InputText
impl UnsafeUnpin for InputText
Blanket Implementations§
impl<T> Any for Twhere
T: Any,
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