pub struct HurrayItem { /* private fields */ }Expand description
Opaque handle to one read item: a tensor, or a composite and its whole subtree.
Not #[repr(C)]; the layout is an implementation detail. The handle owns every
node’s tensor and name, and one hurray_item_destroy releases all of them.
A plain tensor is an item of exactly one node, so a caller that does not care about
composites can read hurray_item_node(item, 0, &node) and ignore the rest.
Trait Implementations§
impl Send for HurrayItem
Auto Trait Implementations§
impl !Sync for HurrayItem
impl Freeze for HurrayItem
impl RefUnwindSafe for HurrayItem
impl Unpin for HurrayItem
impl UnsafeUnpin for HurrayItem
impl UnwindSafe for HurrayItem
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