pub enum BoundingShape {
Rect(Vec<usize>),
}Expand description
Shape of the bounding tensor for a compiled region.
Variants§
Implementations§
Source§impl BoundingShape
impl BoundingShape
Sourcepub fn total_elements(&self) -> usize
pub fn total_elements(&self) -> usize
Total number of elements in the bounding tensor.
Trait Implementations§
Source§impl Clone for BoundingShape
impl Clone for BoundingShape
Source§fn clone(&self) -> BoundingShape
fn clone(&self) -> BoundingShape
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 BoundingShape
impl Debug for BoundingShape
Source§impl PartialEq for BoundingShape
impl PartialEq for BoundingShape
impl StructuralPartialEq for BoundingShape
Auto Trait Implementations§
impl Freeze for BoundingShape
impl RefUnwindSafe for BoundingShape
impl Send for BoundingShape
impl Sync for BoundingShape
impl Unpin for BoundingShape
impl UnsafeUnpin for BoundingShape
impl UnwindSafe for BoundingShape
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