pub struct GetBiadjacencyResult {
pub matrix: Vec<Vec<f64>>,
pub row_ids: Vec<VertexId>,
pub col_ids: Vec<VertexId>,
}Expand description
Result of get_biadjacency_matrix.
Fields§
§matrix: Vec<Vec<f64>>Row-major n1 × n2 biadjacency matrix.
matrix[i][j] is the number of edges between row-vertex i
and column-vertex j.
row_ids: Vec<VertexId>Vertex IDs corresponding to rows (partition with types[v] == false).
col_ids: Vec<VertexId>Vertex IDs corresponding to columns (partition with types[v] == true).
Trait Implementations§
Source§impl Clone for GetBiadjacencyResult
impl Clone for GetBiadjacencyResult
Source§fn clone(&self) -> GetBiadjacencyResult
fn clone(&self) -> GetBiadjacencyResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GetBiadjacencyResult
impl RefUnwindSafe for GetBiadjacencyResult
impl Send for GetBiadjacencyResult
impl Sync for GetBiadjacencyResult
impl Unpin for GetBiadjacencyResult
impl UnsafeUnpin for GetBiadjacencyResult
impl UnwindSafe for GetBiadjacencyResult
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