Skip to main content
← PSoXide SDK guides and examples · SDK f2fec1c301f1 · All Cargo features enabled; check feature gates before use.

CommandRecording

Struct CommandRecording 

Source
pub struct CommandRecording { /* private fields */ }
Expand description

A command stream recorded by start_recording_raw: DMA linked-list nodes that end the list until link_to chains them onward.

Implementations§

Source§

impl CommandRecording

Source

pub fn head(&self) -> *const u32

First node, the address a chain links to or a DMA walk starts at.

Source

pub fn len_words(&self) -> usize

Words used in the buffer, node headers included.

Point the last node at next (a node tag) instead of ending the list there.

§Safety

The recording’s buffer must still be live, and no walk of it may have started.

Trait Implementations§

Source§

impl Debug for CommandRecording

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl Freeze for CommandRecording

§

impl RefUnwindSafe for CommandRecording

§

impl !Send for CommandRecording

§

impl !Sync for CommandRecording

§

impl Unpin for CommandRecording

§

impl UnsafeUnpin for CommandRecording

§

impl UnwindSafe for CommandRecording

Blanket Implementations§

§

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

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

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

§

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

Mutably borrows from an owned value. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

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

§

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> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

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

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

Performs the conversion.
§

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.
§

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

Performs the conversion.