pub struct LivewireEngine { /* private fields */ }Expand description
Renders .livewire component views.
Implementations§
Source§impl LivewireEngine
impl LivewireEngine
Sourcepub fn new(registry: Arc<ComponentRegistry>) -> Self
pub fn new(registry: Arc<ComponentRegistry>) -> Self
Creates the engine for the application’s registered components.
Sourcepub fn registry(&self) -> &Arc<ComponentRegistry> ⓘ
pub fn registry(&self) -> &Arc<ComponentRegistry> ⓘ
The registry the engine renders components from.
Trait Implementations§
Source§impl Debug for LivewireEngine
impl Debug for LivewireEngine
Auto Trait Implementations§
impl !Freeze for LivewireEngine
impl !RefUnwindSafe for LivewireEngine
impl !UnwindSafe for LivewireEngine
impl Forget for LivewireEngine
impl Move for LivewireEngine
impl Send for LivewireEngine
impl Sync for LivewireEngine
impl Unpin for LivewireEngine
impl UnsafeUnpin for LivewireEnginewhere
*const ArcInner<ComponentRegistry> is !null: UnsafeUnpin,
PhantomData<ArcInner<ComponentRegistry>>: UnsafeUnpin,
Align4<u32>: UnsafeUnpin,
Align1<u8>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<Cached>: UnsafeUnpin,
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