Struct fast_paths::FastGraph
source · pub struct FastGraph { /* private fields */ }
Implementations§
source§impl FastGraph
impl FastGraph
pub fn new(num_nodes: usize) -> Self
pub fn get_node_ordering(&self) -> Vec<NodeId>
pub fn get_num_nodes(&self) -> usize
pub fn get_num_out_edges(&self) -> usize
pub fn get_num_in_edges(&self) -> usize
pub fn begin_in_edges(&self, node: NodeId) -> usize
pub fn end_in_edges(&self, node: NodeId) -> usize
pub fn begin_out_edges(&self, node: NodeId) -> usize
pub fn end_out_edges(&self, node: NodeId) -> usize
Trait Implementations§
source§impl<'de> Deserialize<'de> for FastGraph
impl<'de> Deserialize<'de> for FastGraph
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FastGraph
impl RefUnwindSafe for FastGraph
impl Send for FastGraph
impl Sync for FastGraph
impl Unpin for FastGraph
impl UnwindSafe for FastGraph
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