pub enum ComponentView {
Named(String),
Inline {
source: &'static str,
data: Map<String, Value>,
},
}Expand description
What a component’s render asks the engine to render.
Variants§
Named(String)
A template found through the view finder, such as livewire.counter.
Inline
Markup written in the component module, rendered with data on top of the component’s
fields.
Implementations§
Trait Implementations§
Source§impl Clone for ComponentView
impl Clone for ComponentView
Source§impl Debug for ComponentView
impl Debug for ComponentView
Source§impl PartialEq for ComponentView
impl PartialEq for ComponentView
impl StructuralPartialEq for ComponentView
Auto Trait Implementations§
impl Forget for ComponentView
impl Freeze for ComponentViewwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
&'static str: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<String, Value>>: Freeze,
impl Move for ComponentView
impl RefUnwindSafe for ComponentView
impl Send for ComponentView
impl Sync for ComponentView
impl Unpin for ComponentView
impl UnsafeUnpin for ComponentViewwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
&'static str: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<String, Value>>: UnsafeUnpin,
impl UnwindSafe for ComponentView
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