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§fn clone(&self) -> ForwardAttr
fn clone(&self) -> ForwardAttr
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ForwardAttr
impl Debug for ForwardAttr
impl<'__de> Decode<'__de> for ForwardAttr
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DecodeOwned for Twhere
T: for<'de> Decode<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more