pub struct BigCheckbox { /* private fields */ }Expand description
A big enum checkbox field
Trait Implementations§
Source§impl Component for BigCheckbox
impl Component for BigCheckbox
Source§type Properties = Props
type Properties = Props
Properties type of component implementation.
It sould be serializable because it’s sent to dynamicaly created
component (layed under
VComp) and must be restored for a component
with unknown type.Source§fn create(props: Self::Properties, _context: ComponentLink<Self>) -> Self
fn create(props: Self::Properties, _context: ComponentLink<Self>) -> Self
Initialization routine which could use a context.
Source§fn change(&mut self, props: Self::Properties) -> ShouldRender
fn change(&mut self, props: Self::Properties) -> ShouldRender
This method called when properties changes, and once when component created.
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§impl Renderable<BigCheckbox> for BigCheckbox
impl Renderable<BigCheckbox> for BigCheckbox
Auto Trait Implementations§
impl Freeze for BigCheckbox
impl !RefUnwindSafe for BigCheckbox
impl !Send for BigCheckbox
impl !Sync for BigCheckbox
impl Unpin for BigCheckbox
impl !UnwindSafe for BigCheckbox
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