pub struct DmaDeviceInfo { /* private fields */ }Expand description
Complete device-scoped DMA capability metadata.
This value deliberately contains no OS backend. It can cross portable driver boundaries without exposing platform implementation details.
Implementations§
Source§impl DmaDeviceInfo
impl DmaDeviceInfo
pub const fn new( domain: DmaDomainId, coherency: DmaCoherency, constraints: DmaConstraints, ) -> Self
pub const fn domain(self) -> DmaDomainId
pub const fn coherency(self) -> DmaCoherency
pub const fn constraints(self) -> DmaConstraints
pub const fn with_constraints(self, constraints: DmaConstraints) -> Self
Trait Implementations§
Source§impl Clone for DmaDeviceInfo
impl Clone for DmaDeviceInfo
Source§fn clone(&self) -> DmaDeviceInfo
fn clone(&self) -> DmaDeviceInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DmaDeviceInfo
Source§impl Debug for DmaDeviceInfo
impl Debug for DmaDeviceInfo
impl Eq for DmaDeviceInfo
Source§impl PartialEq for DmaDeviceInfo
impl PartialEq for DmaDeviceInfo
impl StructuralPartialEq for DmaDeviceInfo
Auto Trait Implementations§
impl Freeze for DmaDeviceInfo
impl RefUnwindSafe for DmaDeviceInfo
impl Send for DmaDeviceInfo
impl Sync for DmaDeviceInfo
impl Unpin for DmaDeviceInfo
impl UnsafeUnpin for DmaDeviceInfo
impl UnwindSafe for DmaDeviceInfo
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