pub enum SubGraphKind {
Graph(SubGraph),
Cluster(Cluster),
}Variants§
Implementations§
Source§impl SubGraphKind
impl SubGraphKind
pub fn is_sub_graph(&self) -> bool
pub fn is_cluster_graph(&self) -> bool
Trait Implementations§
Source§impl Clone for SubGraphKind
impl Clone for SubGraphKind
Source§fn clone(&self) -> SubGraphKind
fn clone(&self) -> SubGraphKind
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 SubGraphKind
impl Debug for SubGraphKind
Source§impl Display for SubGraphKind
impl Display for SubGraphKind
Source§impl From<Cluster> for SubGraphKind
impl From<Cluster> for SubGraphKind
Auto Trait Implementations§
impl Freeze for SubGraphKind
impl RefUnwindSafe for SubGraphKind
impl Send for SubGraphKind
impl Sync for SubGraphKind
impl Unpin for SubGraphKind
impl UnwindSafe for SubGraphKind
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