pub struct PropsInfo {
pub prop_names: Vec<String>,
pub has_prop_types: bool,
pub has_default_props: bool,
pub destructured: bool,
pub typescript_props: bool,
}
Expand description
Props analysis information
Fields§
§prop_names: Vec<String>
§has_prop_types: bool
§has_default_props: bool
§destructured: bool
§typescript_props: bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PropsInfo
impl RefUnwindSafe for PropsInfo
impl Send for PropsInfo
impl Sync for PropsInfo
impl Unpin for PropsInfo
impl UnwindSafe for PropsInfo
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