pub struct Props {
pub text: String,
pub html_for: Option<String>,
pub required: bool,
pub disabled: bool,
}Expand description
Label rendering properties
Fields§
§text: StringLabel text
html_for: Option<String>ID of associated form control
required: boolWhether the field is required
disabled: boolWhether the label should appear disabled
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Props
impl RefUnwindSafe for Props
impl Send for Props
impl Sync for Props
impl Unpin for Props
impl UnsafeUnpin for Props
impl UnwindSafe for Props
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