pub struct Input { /* private fields */ }Implementations§
Source§impl Input
impl Input
Sourcepub fn mark(self, name: &'static str) -> Self
pub fn mark(self, name: &'static str) -> Self
Name a part of an explicit static plan; not a DOM id or data key.
pub fn backend_options<T: 'static>(self, value: T) -> Self
Source§impl Input
impl Input
Sourcepub fn class(self, value: impl Into<Vary<String>>) -> Self
pub fn class(self, value: impl Into<Vary<String>>) -> Self
Set the complete whitespace-separated class list (last call wins).
Sourcepub fn class_fn(self, read: impl FnMut() -> String + 'static) -> Self
pub fn class_fn(self, read: impl FnMut() -> String + 'static) -> Self
Compute one property directly in its pure Binding.
pub fn style_fn(self, read: impl FnMut() -> Style + 'static) -> Self
pub fn style(self, value: impl Into<Vary<Style>>) -> Self
Sourcepub fn name(self, value: impl Into<Vary<String>>) -> Self
pub fn name(self, value: impl Into<Vary<String>>) -> Self
Accessible name. Plain inline/paragraph text uses content; decorative images have no accessible name. A named generic View becomes an accessible group without changing its layout box.
pub fn focus(self, mode: impl Into<Vary<FocusMode>>) -> Self
Sourcepub fn semantics(self, value: impl Into<Vary<Option<Box<Semantics>>>>) -> Self
pub fn semantics(self, value: impl Into<Vary<Option<Box<Semantics>>>>) -> Self
Finite composite-widget state and document-scoped relations.
pub fn on(self, kind: EventKind, handler: impl FnMut(Event) + 'static) -> Self
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Input
impl !Send for Input
impl !Sync for Input
impl !UnwindSafe for Input
impl Forget for Input
impl Freeze for Input
impl Unpin for Input
impl UnsafeUnpin for Input
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