pub struct CodePropertyGraph {
pub graph: CpgGraph,
}Expand description
Central Code Property Graph container.
Fields§
§graph: CpgGraphImplementations§
Source§impl CodePropertyGraph
impl CodePropertyGraph
pub fn new() -> Self
pub fn node_count(&self) -> usize
pub fn edge_count(&self) -> usize
Trait Implementations§
Source§impl Debug for CodePropertyGraph
impl Debug for CodePropertyGraph
Source§impl Default for CodePropertyGraph
impl Default for CodePropertyGraph
Source§impl From<&CodePropertyGraph> for GraphData
impl From<&CodePropertyGraph> for GraphData
Source§fn from(cpg: &CodePropertyGraph) -> Self
fn from(cpg: &CodePropertyGraph) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CodePropertyGraph
impl RefUnwindSafe for CodePropertyGraph
impl Send for CodePropertyGraph
impl Sync for CodePropertyGraph
impl Unpin for CodePropertyGraph
impl UnsafeUnpin for CodePropertyGraph
impl UnwindSafe for CodePropertyGraph
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