pub struct SubtreePartitionEntry { /* private fields */ }Expand description
Partition assignment decision for one subtree root.
Implementations§
Source§impl SubtreePartitionEntry
Non-panicking accessors for SubtreePartitionEntry.
impl SubtreePartitionEntry
Non-panicking accessors for SubtreePartitionEntry.
Sourcepub fn reject_reason_value(&self) -> Option<GpuSubtreeRejectReason>
pub fn reject_reason_value(&self) -> Option<GpuSubtreeRejectReason>
Returns the optional GPU rejection reason for this subtree entry.
§Returns
Option<GpuSubtreeRejectReason>- Rejection reason when assigned to CPU, orNonefor GPU subtrees.
Source§impl SubtreePartitionEntry
impl SubtreePartitionEntry
pub fn get_root_node(&self) -> NodeId
pub fn get_mut_root_node(&mut self) -> &mut NodeId
pub fn set_root_node(&mut self, val: NodeId) -> &mut Self
pub fn get_lane(&self) -> SubtreeLane
pub fn get_mut_lane(&mut self) -> &mut SubtreeLane
pub fn set_lane(&mut self, val: SubtreeLane) -> &mut Self
pub fn get_metrics(&self) -> SubtreePartitionMetrics
pub fn get_mut_metrics(&mut self) -> &mut SubtreePartitionMetrics
pub fn set_metrics(&mut self, val: SubtreePartitionMetrics) -> &mut Self
Trait Implementations§
Source§impl Clone for SubtreePartitionEntry
impl Clone for SubtreePartitionEntry
impl Copy for SubtreePartitionEntry
Source§impl Debug for SubtreePartitionEntry
impl Debug for SubtreePartitionEntry
Source§impl PartialEq for SubtreePartitionEntry
impl PartialEq for SubtreePartitionEntry
impl StructuralPartialEq for SubtreePartitionEntry
Auto Trait Implementations§
impl Forget for SubtreePartitionEntry
impl Freeze for SubtreePartitionEntry
impl Move for SubtreePartitionEntry
impl RefUnwindSafe for SubtreePartitionEntry
impl Send for SubtreePartitionEntry
impl Sync for SubtreePartitionEntry
impl Unpin for SubtreePartitionEntry
impl UnsafeUnpin for SubtreePartitionEntry
impl UnwindSafe for SubtreePartitionEntry
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