Struct dioxus_core::VComponent[][src]

pub struct VComponent<'src> {
    pub key: Option<&'src str>,
    pub originator: ScopeId,
    pub scope: Cell<Option<ScopeId>>,
    pub can_memoize: bool,
    pub user_fc: *const (),
    pub props: RefCell<Option<Box<dyn AnyProps + 'src>>>,
}
Expand description

Virtual Components for custom user-defined components Only supports the functional syntax

Fields

key: Option<&'src str>originator: ScopeIdscope: Cell<Option<ScopeId>>can_memoize: booluser_fc: *const ()props: RefCell<Option<Box<dyn AnyProps + 'src>>>

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.