#[repr(C)]pub struct sparsegraph {
pub nde: usize,
pub v: *mut usize,
pub nv: c_int,
pub d: *mut c_int,
pub e: *mut c_int,
pub w: *mut sg_weight,
pub vlen: usize,
pub dlen: usize,
pub elen: usize,
pub wlen: usize,
}Fields§
§nde: usize§v: *mut usize§nv: c_int§d: *mut c_int§e: *mut c_int§w: *mut sg_weight§vlen: usize§dlen: usize§elen: usize§wlen: usizeTrait Implementations§
Source§impl Clone for sparsegraph
impl Clone for sparsegraph
Source§fn clone(&self) -> sparsegraph
fn clone(&self) -> sparsegraph
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 moreSource§impl Debug for sparsegraph
impl Debug for sparsegraph
Source§impl Default for sparsegraph
impl Default for sparsegraph
Source§impl<'a> From<&'a mut SparseGraph> for sparsegraph
impl<'a> From<&'a mut SparseGraph> for sparsegraph
Source§fn from(g: &'a mut SparseGraph) -> Self
fn from(g: &'a mut SparseGraph) -> Self
Converts to this type from the input type.
Source§impl Hash for sparsegraph
impl Hash for sparsegraph
impl Copy for sparsegraph
Auto Trait Implementations§
impl Freeze for sparsegraph
impl RefUnwindSafe for sparsegraph
impl !Send for sparsegraph
impl !Sync for sparsegraph
impl Unpin for sparsegraph
impl UnwindSafe for sparsegraph
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