pub struct File { /* private fields */ }Implementations§
Source§impl File
impl File
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 File
impl File
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
Source§impl File
impl File
pub fn label(self, value: impl Into<String>) -> Self
Sourcepub fn configuration(self, value: FileConfig) -> Self
pub fn configuration(self, value: FileConfig) -> Self
Initial finite declaration. Reactive changes use Scope::set_file_configuration, which allocates from this live node’s accepted configuration revision.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for File
impl !Send for File
impl !Sync for File
impl !UnwindSafe for File
impl Forget for File
impl Freeze for File
impl Move for File
impl Unpin for File
impl UnsafeUnpin for File
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