pub struct ForwardAttr {
pub attr: String,
pub root: String,
}Expand description
One forwarded JSX attribute: the child attribute name plus the identifier
root of its value expression. See RenderEdge::forward_attrs.
Fields§
§attr: StringThe child attribute (prop) name as written (userName).
root: StringThe identifier root of the attribute value expression (user for
userName={user.name}).
Trait Implementations§
Source§impl Clone for ForwardAttr
impl Clone for ForwardAttr
Source§impl Debug for ForwardAttr
impl Debug for ForwardAttr
impl<'__de> Decode<'__de> for ForwardAttrwhere
'__de:,
impl Encode for ForwardAttr
Auto Trait Implementations§
impl Freeze for ForwardAttr
impl RefUnwindSafe for ForwardAttr
impl Send for ForwardAttr
impl Sync for ForwardAttr
impl Unpin for ForwardAttr
impl UnsafeUnpin for ForwardAttr
impl UnwindSafe for ForwardAttr
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