#[repr(C)]pub struct PhysicalDeviceExternalTensorInfoARM<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: TensorCreateFlagsARM,
pub p_description: *const TensorDescriptionARM<'a>,
pub handle_type: ExternalMemoryHandleTypeFlags,
pub _marker: PhantomData<&'a ()>,
}Expand description
Fields§
§s_type: StructureType§p_next: *const c_void§flags: TensorCreateFlagsARM§p_description: *const TensorDescriptionARM<'a>§handle_type: ExternalMemoryHandleTypeFlags§_marker: PhantomData<&'a ()>Implementations§
Source§impl<'a> PhysicalDeviceExternalTensorInfoARM<'a>
impl<'a> PhysicalDeviceExternalTensorInfoARM<'a>
pub fn flags(self, flags: TensorCreateFlagsARM) -> Self
pub fn description(self, description: &'a TensorDescriptionARM<'a>) -> Self
pub fn handle_type(self, handle_type: ExternalMemoryHandleTypeFlags) -> Self
Trait Implementations§
Source§impl<'a> Clone for PhysicalDeviceExternalTensorInfoARM<'a>
impl<'a> Clone for PhysicalDeviceExternalTensorInfoARM<'a>
Source§fn clone(&self) -> PhysicalDeviceExternalTensorInfoARM<'a>
fn clone(&self) -> PhysicalDeviceExternalTensorInfoARM<'a>
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<'a> Debug for PhysicalDeviceExternalTensorInfoARM<'a>
impl<'a> Debug for PhysicalDeviceExternalTensorInfoARM<'a>
Source§impl Default for PhysicalDeviceExternalTensorInfoARM<'_>
impl Default for PhysicalDeviceExternalTensorInfoARM<'_>
Source§impl<'a> TaggedStructure for PhysicalDeviceExternalTensorInfoARM<'a>
impl<'a> TaggedStructure for PhysicalDeviceExternalTensorInfoARM<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_EXTERNAL_TENSOR_INFO_ARM
impl<'a> Copy for PhysicalDeviceExternalTensorInfoARM<'a>
impl Send for PhysicalDeviceExternalTensorInfoARM<'_>
impl Sync for PhysicalDeviceExternalTensorInfoARM<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceExternalTensorInfoARM<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceExternalTensorInfoARM<'a>
impl<'a> Unpin for PhysicalDeviceExternalTensorInfoARM<'a>
impl<'a> UnwindSafe for PhysicalDeviceExternalTensorInfoARM<'a>
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