pub struct Props {
pub id: String,
pub classes: String,
pub styles: Vec<Style>,
pub children: Vec<Component>,
pub items: Vec<MenuItem>,
}Fields§
§id: String§classes: String§styles: Vec<Style>§children: Vec<Component>§items: Vec<MenuItem>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Props
impl !RefUnwindSafe for Props
impl !Send for Props
impl !Sync for Props
impl Unpin for Props
impl !UnwindSafe for Props
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