pub struct PropDef {
pub name: &'static str,
pub requirement: PropRequirement,
pub prop_type: PropType,
}Expand description
Definition of a single prop on a component.
Fields§
§name: &'static str§requirement: PropRequirement§prop_type: PropTypeImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PropDef
impl RefUnwindSafe for PropDef
impl Send for PropDef
impl Sync for PropDef
impl Unpin for PropDef
impl UnwindSafe for PropDef
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