pub enum GraphLayoutRequirement {
Forward,
Transposed,
Any,
}Expand description
Required cuGraph graph-layout state for an algorithm.
Mirrors the Graph<Forward> / Graph<Transposed> type-state in the local cugraph crate.
Any indicates that the algorithm runs under either layout;
the executor still picks one concrete layout at runtime.
Variants§
Forward
Algorithm requires a forward graph layout.
Transposed
Algorithm requires a transposed graph layout.
Any
Algorithm can run on either layout.
Implementations§
Trait Implementations§
Source§impl Clone for GraphLayoutRequirement
impl Clone for GraphLayoutRequirement
impl Copy for GraphLayoutRequirement
Source§impl Debug for GraphLayoutRequirement
impl Debug for GraphLayoutRequirement
Source§impl Display for GraphLayoutRequirement
impl Display for GraphLayoutRequirement
impl Eq for GraphLayoutRequirement
Source§impl Hash for GraphLayoutRequirement
impl Hash for GraphLayoutRequirement
Source§impl PartialEq for GraphLayoutRequirement
impl PartialEq for GraphLayoutRequirement
impl StructuralPartialEq for GraphLayoutRequirement
Auto Trait Implementations§
impl Freeze for GraphLayoutRequirement
impl RefUnwindSafe for GraphLayoutRequirement
impl Send for GraphLayoutRequirement
impl Sync for GraphLayoutRequirement
impl Unpin for GraphLayoutRequirement
impl UnsafeUnpin for GraphLayoutRequirement
impl UnwindSafe for GraphLayoutRequirement
Blanket Implementations§
impl<T> Allocation for T
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