#[repr(C)]pub struct TensorRegionObj {
pub source: Expr,
pub region: Array<Range>,
/* private fields */
}Expand description
Complete: reflected fields fill [40, 56) exactly.
Fields§
§source: Expr§region: Array<Range>Trait Implementations§
Source§impl Deref for TensorRegionObj
impl Deref for TensorRegionObj
Source§impl<'a> From<&'a TensorRegionObj> for AnyView<'a>
impl<'a> From<&'a TensorRegionObj> for AnyView<'a>
Source§fn from(value: &'a TensorRegionObj) -> Self
fn from(value: &'a TensorRegionObj) -> Self
Converts to this type from the input type.
Source§impl ObjectCore for TensorRegionObj
impl ObjectCore for TensorRegionObj
Source§const TYPE_DEPTH: i32 = 2i32
const TYPE_DEPTH: i32 = 2i32
Depth of this type in the object inheritance tree. Read more
fn type_index() -> i32
Source§unsafe fn object_header_mut(this: &mut Self) -> &mut TVMFFIObject
unsafe fn object_header_mut(this: &mut Self) -> &mut TVMFFIObject
Return the object header
This function is implemented as a static function so Read more
Auto Trait Implementations§
impl !Freeze for TensorRegionObj
impl RefUnwindSafe for TensorRegionObj
impl !Send for TensorRegionObj
impl !Sync for TensorRegionObj
impl Unpin for TensorRegionObj
impl UnwindSafe for TensorRegionObj
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