pub struct EuvCheckboxProps {
pub id: &'static str,
pub name: &'static str,
pub autocomplete: &'static str,
pub checked: Signal<bool>,
pub label: &'static str,
}Expand description
Props for the euv_checkbox component.
Defines the strongly-typed interface for a labeled checkbox.
Fields§
§id: &'static strThe unique identifier for the checkbox element.
name: &'static strThe HTML name attribute for the checkbox element.
autocomplete: &'static strThe autocomplete hint for the browser.
checked: Signal<bool>The boolean signal bound to the checkbox checked state.
label: &'static strThe label text displayed next to the checkbox.
Implementations§
Source§impl EuvCheckboxProps
impl EuvCheckboxProps
pub fn get_id(&self) -> &'static str
pub fn get_mut_id(&mut self) -> &mut &'static str
pub fn set_id(&mut self, val: &'static str) -> &mut Self
pub fn get_name(&self) -> &'static str
pub fn get_mut_name(&mut self) -> &mut &'static str
pub fn set_name(&mut self, val: &'static str) -> &mut Self
pub fn get_autocomplete(&self) -> &'static str
pub fn get_mut_autocomplete(&mut self) -> &mut &'static str
pub fn set_autocomplete(&mut self, val: &'static str) -> &mut Self
pub fn get_checked(&self) -> Signal<bool>
pub fn get_mut_checked(&mut self) -> &mut Signal<bool>
pub fn set_checked(&mut self, val: Signal<bool>) -> &mut Self
pub fn get_label(&self) -> &'static str
pub fn get_mut_label(&mut self) -> &mut &'static str
pub fn set_label(&mut self, val: &'static str) -> &mut Self
Trait Implementations§
Source§impl Clone for EuvCheckboxProps
impl Clone for EuvCheckboxProps
Source§fn clone(&self) -> EuvCheckboxProps
fn clone(&self) -> EuvCheckboxProps
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EuvCheckboxProps
impl Debug for EuvCheckboxProps
Source§impl Default for EuvCheckboxProps
impl Default for EuvCheckboxProps
Source§fn default() -> EuvCheckboxProps
fn default() -> EuvCheckboxProps
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EuvCheckboxProps
impl RefUnwindSafe for EuvCheckboxProps
impl Send for EuvCheckboxProps
impl Sync for EuvCheckboxProps
impl Unpin for EuvCheckboxProps
impl UnsafeUnpin for EuvCheckboxProps
impl UnwindSafe for EuvCheckboxProps
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