Struct leptos_heroicons::size_20::solid::TruckProps
source · pub struct TruckProps {
pub class: Option<AttributeValue>,
}
Expand description
Props for the Truck
component.
Required Props
- cx: [
Scope
]
Optional Props
- class:
impl Into<AttributeValue>
Fields§
§class: Option<AttributeValue>
Implementations§
source§impl TruckProps
impl TruckProps
sourcepub fn builder() -> TruckPropsBuilder<((),)>
pub fn builder() -> TruckPropsBuilder<((),)>
Create a builder for building TruckProps
.
On the builder, call .class(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of TruckProps
.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for TruckProps
impl !Send for TruckProps
impl !Sync for TruckProps
impl Unpin for TruckProps
impl !UnwindSafe for TruckProps
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