pub struct ReactComponentInfo {
pub name: String,
pub component_type: ComponentType,
pub hooks_used: Vec<HookInfo>,
pub props_analysis: PropsInfo,
pub lifecycle_methods: Vec<String>,
pub jsx_elements: Vec<String>,
pub context_usage: Vec<ContextInfo>,
pub state_management: Vec<StateManagementInfo>,
}
Expand description
React component information
Fields§
§name: String
§component_type: ComponentType
§hooks_used: Vec<HookInfo>
§props_analysis: PropsInfo
§lifecycle_methods: Vec<String>
§jsx_elements: Vec<String>
§context_usage: Vec<ContextInfo>
§state_management: Vec<StateManagementInfo>
Trait Implementations§
Source§impl Clone for ReactComponentInfo
impl Clone for ReactComponentInfo
Source§fn clone(&self) -> ReactComponentInfo
fn clone(&self) -> ReactComponentInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ReactComponentInfo
impl RefUnwindSafe for ReactComponentInfo
impl Send for ReactComponentInfo
impl Sync for ReactComponentInfo
impl Unpin for ReactComponentInfo
impl UnwindSafe for ReactComponentInfo
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