pub struct FileUpload { /* private fields */ }Trait Implementations§
Source§impl Component for FileUpload
impl Component for FileUpload
Source§type Properties = Props
type Properties = Props
Properties type of component implementation.
Source§fn create(props: Self::Properties, link: ComponentLink<Self>) -> Self
fn create(props: Self::Properties, link: ComponentLink<Self>) -> Self
Initialization routine which could use a context.
Source§fn update(&mut self, msg: Self::Message) -> ShouldRender
fn update(&mut self, msg: 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 FileUpload
impl !Send for FileUpload
impl !Sync for FileUpload
impl !UnwindSafe for FileUpload
impl Freeze for FileUpload
impl Unpin for FileUpload
impl UnsafeUnpin for FileUpload
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