[][src]Struct grapl_graph_descriptions_py::graph::Graph

pub struct Graph {
    pub inner_graph: InnerGraph,
}

Fields

inner_graph: InnerGraph

Methods

impl Graph[src]

pub fn is_empty(&self) -> bool[src]

pub fn merge(&mut self, other: &Self)[src]

pub fn add_process(&mut self, node: ProcessNode)[src]

pub fn add_file(&mut self, node: FileNode)[src]

pub fn add_asset(&mut self, node: AssetNode)[src]

pub fn add_network_connection(&mut self, node: NetworkConnectionNode)[src]

pub fn add_process_inbound_connection(
    &mut self,
    node: ProcessInboundConnectionNode
)
[src]

pub fn add_process_outbound_connection(
    &mut self,
    node: ProcessInboundConnectionNode
)
[src]

pub fn add_ip_port(&mut self, node: IpPortNode)[src]

pub fn add_ip_address(&mut self, node: IpAddressNode)[src]

pub fn add_edge(&mut self, edge_name: String, from: String, to: String)[src]

Trait Implementations

impl Clone for Graph[src]

impl<'source> FromPyObject<'source> for Graph[src]

impl IntoPy<PyObject> for Graph[src]

impl PyMethodsInventoryDispatch for Graph[src]

type InventoryType = GraphGeneratedPyo3Inventory

This allows us to get the inventory type when only the pyclass is in scope

impl PyObjectAlloc for Graph[src]

impl PyTypeInfo for Graph[src]

type Type = Graph

Type of objects to store in PyObject struct

type BaseType = PyAny

Base class

Auto Trait Implementations

impl RefUnwindSafe for Graph

impl Send for Graph

impl Sync for Graph

impl Unpin for Graph

impl UnwindSafe for Graph

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> FromPy<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> IntoPy<U> for T where
    U: FromPy<T>, 
[src]

impl<T> PyMethodsProtocol for T where
    T: PyMethodsInventoryDispatch, 
[src]

impl<T> PyObjectAlloc for T where
    T: PyObjectWithFreeList
[src]

impl<'v, T> PyTryFrom<'v> for T where
    T: PyTypeInfo
[src]

impl<T> PyTypeCreate for T where
    T: PyObjectAlloc + PyTypeObject
[src]

impl<T> PyTypeObject for T where
    T: PyTypeInfo + PyMethodsProtocol + PyObjectAlloc
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,