pub struct LivewireServiceProvider<F> { /* private fields */ }Expand description
Registers an application’s Livewire components.
ⓘ
use livewire::LivewireServiceProvider;
let provider = LivewireServiceProvider::new(|components| {
components.register::<Counter>("counter").expect("unique");
});Implementations§
Source§impl<F> LivewireServiceProvider<F>
impl<F> LivewireServiceProvider<F>
Trait Implementations§
Source§impl<F> Debug for LivewireServiceProvider<F>
impl<F> Debug for LivewireServiceProvider<F>
Auto Trait Implementations§
impl<F> !Freeze for LivewireServiceProvider<F>
impl<F> !RefUnwindSafe for LivewireServiceProvider<F>
impl<F> !UnwindSafe for LivewireServiceProvider<F>
impl<F> Forget for LivewireServiceProvider<F>
impl<F> Move for LivewireServiceProvider<F>
impl<F> Send for LivewireServiceProvider<F>
impl<F> Sync for LivewireServiceProvider<F>
impl<F> Unpin for LivewireServiceProvider<F>
impl<F> UnsafeUnpin for LivewireServiceProvider<F>where
Align4<u32>: UnsafeUnpin,
Align1<u8>: UnsafeUnpin,
F: UnsafeUnpin,
*const ArcInner<ComponentRegistry> is !null: UnsafeUnpin,
PhantomData<ArcInner<ComponentRegistry>>: UnsafeUnpin,
PhantomData<Arc<ComponentRegistry>>: 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