Struct gdl_graph_t
#[repr(C)]pub struct gdl_graph_t { /* private fields */ }
Expand description
gdl graph interface - includes only functions required to draw it
Implementations§
§impl gdl_graph_t
impl gdl_graph_t
pub unsafe fn begin<'a>( self: &'a gdl_graph_t, ) -> impl New<Output = node_iterator> + 'a
pub unsafe fn end<'a>( self: &'a gdl_graph_t, ) -> impl New<Output = node_iterator> + 'a
pub unsafe fn get_node_label( self: &gdl_graph_t, iobuf: *mut c_char, iobufsize: c_int, n: c_int, ) -> *mut c_char
pub unsafe fn print_graph_attributes(self: &gdl_graph_t, fp: *mut _IO_FILE)
pub unsafe fn print_node( self: &gdl_graph_t, fp: *mut _IO_FILE, n: c_int, ) -> bool
pub unsafe fn print_edge( self: &gdl_graph_t, fp: *mut _IO_FILE, i: c_int, j: c_int, ) -> bool
pub unsafe fn print_node_attributes( self: &gdl_graph_t, fp: *mut _IO_FILE, n: c_int, )
pub unsafe fn size(self: &gdl_graph_t) -> c_int
pub unsafe fn node_qty(self: &gdl_graph_t) -> c_int
pub unsafe fn exists(self: &gdl_graph_t, node: c_int) -> bool
pub unsafe fn entry(self: &gdl_graph_t) -> c_int
pub unsafe fn exit(self: &gdl_graph_t) -> c_int
pub unsafe fn nsucc(self: &gdl_graph_t, node: c_int) -> c_int
pub unsafe fn npred(self: &gdl_graph_t, node: c_int) -> c_int
pub unsafe fn succ(self: &gdl_graph_t, node: c_int, i: c_int) -> c_int
pub unsafe fn pred(self: &gdl_graph_t, node: c_int, i: c_int) -> c_int
pub unsafe fn empty(self: &gdl_graph_t) -> bool
pub unsafe fn get_node_color(self: &gdl_graph_t, n: c_int) -> c_uint
pub unsafe fn get_edge_color(self: &gdl_graph_t, i: c_int, j: c_int) -> c_uint
§impl gdl_graph_t
impl gdl_graph_t
§impl gdl_graph_t
impl gdl_graph_t
§impl gdl_graph_t
impl gdl_graph_t
§impl gdl_graph_t
impl gdl_graph_t
§impl gdl_graph_t
impl gdl_graph_t
§impl gdl_graph_t
impl gdl_graph_t
pub unsafe fn path_exists(&self, m: c_int, n: c_int) -> bool
§impl gdl_graph_t
impl gdl_graph_t
§impl gdl_graph_t
impl gdl_graph_t
Trait Implementations§
§impl Drop for gdl_graph_t
impl Drop for gdl_graph_t
§fn drop(self: &mut gdl_graph_t)
fn drop(self: &mut gdl_graph_t)
Executes the destructor for this type. Read more
§impl ExternType for gdl_graph_t
impl ExternType for gdl_graph_t
§impl MakeCppStorage for gdl_graph_t
impl MakeCppStorage for gdl_graph_t
§unsafe fn allocate_uninitialized_cpp_storage() -> *mut gdl_graph_t
unsafe fn allocate_uninitialized_cpp_storage() -> *mut gdl_graph_t
Allocates heap space for this type in C++ and return a pointer
to that space, but do not initialize that space (i.e. do not
yet call a constructor). Read more
§unsafe fn free_uninitialized_cpp_storage(arg0: *mut gdl_graph_t)
unsafe fn free_uninitialized_cpp_storage(arg0: *mut gdl_graph_t)
Frees a C++ allocation which has not yet
had a constructor called. Read more
impl UniquePtrTarget for gdl_graph_t
impl WeakPtrTarget for gdl_graph_t
Auto Trait Implementations§
impl !Freeze for gdl_graph_t
impl RefUnwindSafe for gdl_graph_t
impl !Send for gdl_graph_t
impl !Sync for gdl_graph_t
impl !Unpin for gdl_graph_t
impl UnwindSafe for gdl_graph_t
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