pub struct SGEntry(/* private fields */);
Expand description
Implementations§
Source§impl SGEntry
impl SGEntry
Sourcepub fn dma_address(&self) -> DmaAddress
pub fn dma_address(&self) -> DmaAddress
Returns the DMA address of this SG entry.
This is the address that the device should use to access the memory segment.
Sourcepub fn dma_len(&self) -> ResourceSize
pub fn dma_len(&self) -> ResourceSize
Returns the length of this SG entry in bytes.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for SGEntry
impl !RefUnwindSafe for SGEntry
impl !Unpin for SGEntry
impl UnwindSafe for SGEntry
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
Source§impl<T> PinInit<T> for T
impl<T> PinInit<T> for T
Source§unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
Initializes
slot
. Read more