Struct nx::ipc::CommandContext
source · [−]pub struct CommandContext {
pub object_info: ObjectInfo,
pub in_params: CommandContent,
pub out_params: CommandContent,
/* private fields */
}
Fields
object_info: ObjectInfo
in_params: CommandContent
out_params: CommandContent
Implementations
sourceimpl CommandContext
impl CommandContext
pub fn empty() -> Self
pub fn new_client(object_info: ObjectInfo) -> Self
pub fn new_server(object_info: ObjectInfo, pointer_buffer: *mut u8) -> Self
pub fn add_buffer<const A: BufferAttribute, T>(
&mut self,
buffer: &Buffer<A, T>
) -> Result<()>
pub fn pop_buffer<const A: BufferAttribute, T>(
&mut self,
raw_data_walker: &mut DataWalker
) -> Result<Buffer<A, T>>
pub fn pop_object(&mut self) -> Result<ObjectInfo>
Auto Trait Implementations
impl RefUnwindSafe for CommandContext
impl !Send for CommandContext
impl !Sync for CommandContext
impl Unpin for CommandContext
impl UnwindSafe for CommandContext
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more