#[repr(C)]
pub struct DMA_IOMMU_INTERFACE_V2 {
Show 22 fields pub CreateDomainEx: PIOMMU_DOMAIN_CREATE_EX, pub DeleteDomain: PIOMMU_DOMAIN_DELETE, pub AttachDeviceEx: PIOMMU_DOMAIN_ATTACH_DEVICE_EX, pub DetachDeviceEx: PIOMMU_DOMAIN_DETACH_DEVICE_EX, pub FlushDomain: PIOMMU_FLUSH_DOMAIN, pub FlushDomainByVaList: PIOMMU_FLUSH_DOMAIN_VA_LIST, pub QueryInputMappings: PIOMMU_QUERY_INPUT_MAPPINGS, pub MapLogicalRangeEx: PIOMMU_MAP_LOGICAL_RANGE_EX, pub UnmapLogicalRange: PIOMMU_UNMAP_LOGICAL_RANGE, pub MapIdentityRangeEx: PIOMMU_MAP_IDENTITY_RANGE_EX, pub UnmapIdentityRangeEx: PIOMMU_UNMAP_IDENTITY_RANGE_EX, pub SetDeviceFaultReportingEx: PIOMMU_SET_DEVICE_FAULT_REPORTING_EX, pub ConfigureDomain: PIOMMU_DOMAIN_CONFIGURE, pub QueryAvailableDomainTypes: PIOMMU_DEVICE_QUERY_DOMAIN_TYPES, pub RegisterInterfaceStateChangeCallback: PIOMMU_REGISTER_INTERFACE_STATE_CHANGE_CALLBACK, pub UnregisterInterfaceStateChangeCallback: PIOMMU_UNREGISTER_INTERFACE_STATE_CHANGE_CALLBACK, pub ReserveLogicalAddressRange: PIOMMU_RESERVE_LOGICAL_ADDRESS_RANGE, pub FreeReservedLogicalAddressRange: PIOMMU_FREE_RESERVED_LOGICAL_ADDRESS_RANGE, pub MapReservedLogicalRange: PIOMMU_MAP_RESERVED_LOGICAL_RANGE, pub UnmapReservedLogicalRange: PIOMMU_UNMAP_RESERVED_LOGICAL_RANGE, pub CreateDevice: PIOMMU_DEVICE_CREATE, pub DeleteDevice: PIOMMU_DEVICE_DELETE,
}

Fields§

§CreateDomainEx: PIOMMU_DOMAIN_CREATE_EX§DeleteDomain: PIOMMU_DOMAIN_DELETE§AttachDeviceEx: PIOMMU_DOMAIN_ATTACH_DEVICE_EX§DetachDeviceEx: PIOMMU_DOMAIN_DETACH_DEVICE_EX§FlushDomain: PIOMMU_FLUSH_DOMAIN§FlushDomainByVaList: PIOMMU_FLUSH_DOMAIN_VA_LIST§QueryInputMappings: PIOMMU_QUERY_INPUT_MAPPINGS§MapLogicalRangeEx: PIOMMU_MAP_LOGICAL_RANGE_EX§UnmapLogicalRange: PIOMMU_UNMAP_LOGICAL_RANGE§MapIdentityRangeEx: PIOMMU_MAP_IDENTITY_RANGE_EX§UnmapIdentityRangeEx: PIOMMU_UNMAP_IDENTITY_RANGE_EX§SetDeviceFaultReportingEx: PIOMMU_SET_DEVICE_FAULT_REPORTING_EX§ConfigureDomain: PIOMMU_DOMAIN_CONFIGURE§QueryAvailableDomainTypes: PIOMMU_DEVICE_QUERY_DOMAIN_TYPES§RegisterInterfaceStateChangeCallback: PIOMMU_REGISTER_INTERFACE_STATE_CHANGE_CALLBACK§UnregisterInterfaceStateChangeCallback: PIOMMU_UNREGISTER_INTERFACE_STATE_CHANGE_CALLBACK§ReserveLogicalAddressRange: PIOMMU_RESERVE_LOGICAL_ADDRESS_RANGE§FreeReservedLogicalAddressRange: PIOMMU_FREE_RESERVED_LOGICAL_ADDRESS_RANGE§MapReservedLogicalRange: PIOMMU_MAP_RESERVED_LOGICAL_RANGE§UnmapReservedLogicalRange: PIOMMU_UNMAP_RESERVED_LOGICAL_RANGE§CreateDevice: PIOMMU_DEVICE_CREATE§DeleteDevice: PIOMMU_DEVICE_DELETE

Trait Implementations§

§

impl Clone for DMA_IOMMU_INTERFACE_V2

§

fn clone(&self) -> DMA_IOMMU_INTERFACE_V2

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for DMA_IOMMU_INTERFACE_V2

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl Default for DMA_IOMMU_INTERFACE_V2

§

fn default() -> Self

Returns the “default value” for a type. Read more
§

impl Copy for DMA_IOMMU_INTERFACE_V2

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> CloneToUninit for T
where T: Copy,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T, U> Param<T, CopyType> for U
where T: TypeKind<TypeKind = CopyType> + Clone, U: TypeKind<TypeKind = CopyType> + Clone + CanInto<T>,

§

unsafe fn param(self) -> ParamValue<T>

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.