pub struct GraphSession { /* private fields */ }Implementations§
Source§impl GraphSession
impl GraphSession
pub fn new(graph: GraphNavigator) -> GraphSession
pub fn selected_block_ids(&self) -> Vec<BlockId>
pub fn summary(&self) -> GraphSessionSummary
pub fn fork(&self) -> GraphSession
pub fn seed_overview(&mut self, max_depth: Option<usize>) -> GraphSessionUpdate
pub fn focus( &mut self, selector: Option<&str>, ) -> Result<GraphSessionUpdate, GraphStoreError>
pub fn select( &mut self, selector: &str, detail_level: GraphDetailLevel, ) -> Result<GraphSessionUpdate, GraphStoreError>
pub fn expand( &mut self, selector: &str, mode: GraphNeighborMode, depth: usize, max_add: Option<usize>, ) -> Result<GraphSessionUpdate, GraphStoreError>
pub fn collapse( &mut self, selector: &str, include_descendants: bool, ) -> Result<GraphSessionUpdate, GraphStoreError>
pub fn pin( &mut self, selector: &str, pinned: bool, ) -> Result<GraphSessionUpdate, GraphStoreError>
pub fn prune(&mut self, max_selected: Option<usize>) -> GraphSessionUpdate
pub fn export(&self) -> GraphExport
pub fn why_selected( &self, selector: &str, ) -> Result<GraphSelectionExplanation, GraphStoreError>
pub fn diff(&self, other: &GraphSession) -> GraphSessionDiff
Trait Implementations§
Source§impl Clone for GraphSession
impl Clone for GraphSession
Source§fn clone(&self) -> GraphSession
fn clone(&self) -> GraphSession
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 GraphSession
impl !RefUnwindSafe for GraphSession
impl !Send for GraphSession
impl !Sync for GraphSession
impl Unpin for GraphSession
impl UnsafeUnpin for GraphSession
impl !UnwindSafe for GraphSession
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