pub struct SpanProps {
pub id: Option<AttributeValue>,
pub class: Option<AttributeValue>,
pub style: Option<AttributeValue>,
pub children: Children,
}
Expand description
Props for the Span
component.
§Required Props
- children:
Children
§Optional Props
- id:
impl Into<AttributeValue>
- class:
impl Into<AttributeValue>
- style:
impl Into<AttributeValue>
Fields§
§id: Option<AttributeValue>
§class: Option<AttributeValue>
§style: Option<AttributeValue>
§children: Children
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SpanProps
impl !RefUnwindSafe for SpanProps
impl !Send for SpanProps
impl !Sync for SpanProps
impl Unpin for SpanProps
impl !UnwindSafe for SpanProps
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