[−][src]Struct rust_fel::Props
A struct holding attributes for a Virtual DOM rust_fel::Element.
Elements
can have children
stored inside a std::vec::Vec.
Fields
children: Option<Vec<Element>>
text: Option<String>
on_click: Option<ClosureProp>
mouse: Option<ClosureProp>
class_name: Option<String>
id: Option<String>
href: Option<String>
src: Option<String>
type_attr: Option<String>
role: Option<String>
data_cy: Option<String>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Props
impl !Send for Props
impl !Sync for Props
impl Unpin for Props
impl !UnwindSafe for Props
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,