Union executorch_sys::torch::executor::EValue_Payload
source · #[repr(C)]
pub union EValue_Payload {
pub copyable_union: ManuallyDrop<EValue_Payload_TriviallyCopyablePayload>,
pub as_tensor: ManuallyDrop<Tensor>,
}Fields§
§copyable_union: ManuallyDrop<EValue_Payload_TriviallyCopyablePayload>§as_tensor: ManuallyDrop<Tensor>Auto Trait Implementations§
impl Freeze for EValue_Payload
impl !RefUnwindSafe for EValue_Payload
impl !Send for EValue_Payload
impl !Sync for EValue_Payload
impl Unpin for EValue_Payload
impl !UnwindSafe for EValue_Payload
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