pub struct MegakernelGraphShape {
pub node_count: u64,
pub edge_count: u64,
}Expand description
Static graph shape used by topology selection.
Fields§
§node_count: u64Logical graph node count.
edge_count: u64Logical graph edge count.
Trait Implementations§
Source§impl Clone for MegakernelGraphShape
impl Clone for MegakernelGraphShape
Source§fn clone(&self) -> MegakernelGraphShape
fn clone(&self) -> MegakernelGraphShape
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MegakernelGraphShape
Source§impl Debug for MegakernelGraphShape
impl Debug for MegakernelGraphShape
impl Eq for MegakernelGraphShape
Source§impl PartialEq for MegakernelGraphShape
impl PartialEq for MegakernelGraphShape
Source§fn eq(&self, other: &MegakernelGraphShape) -> bool
fn eq(&self, other: &MegakernelGraphShape) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MegakernelGraphShape
Auto Trait Implementations§
impl Freeze for MegakernelGraphShape
impl RefUnwindSafe for MegakernelGraphShape
impl Send for MegakernelGraphShape
impl Sync for MegakernelGraphShape
impl Unpin for MegakernelGraphShape
impl UnsafeUnpin for MegakernelGraphShape
impl UnwindSafe for MegakernelGraphShape
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.