pub enum PropInput<'a> {
Static(&'a StaticValue),
Hole(&'a dyn Any),
}Expand description
A resolved prop value handed to a build closure: either a template literal, or the compiled value at a hole slot (type-erased).
Variants§
Static(&'a StaticValue)
Hole(&'a dyn Any)
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for PropInput<'a>
impl<'a> !Send for PropInput<'a>
impl<'a> !Sync for PropInput<'a>
impl<'a> !UnwindSafe for PropInput<'a>
impl<'a> Freeze for PropInput<'a>
impl<'a> Unpin for PropInput<'a>
impl<'a> UnsafeUnpin for PropInput<'a>
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