Struct nx::ipc::BufferAttribute
source · [−]#[repr(C)]pub struct BufferAttribute(_);
Implementations
sourceimpl BufferAttribute
impl BufferAttribute
pub const fn from(val: u8) -> Self
pub const fn contains(self, other: Self) -> bool
pub const fn get(self) -> u8
pub const fn In() -> Self
pub const fn Out() -> Self
pub const fn MapAlias() -> Self
pub const fn Pointer() -> Self
pub const fn FixedSize() -> Self
pub const fn AutoSelect() -> Self
pub const fn MapTransferAllowsNonSecure() -> Self
pub const fn MapTransferAllowsNonDevice() -> Self
Trait Implementations
sourceimpl BitAnd<BufferAttribute> for BufferAttribute
impl BitAnd<BufferAttribute> for BufferAttribute
type Output = BufferAttribute
type Output = BufferAttribute
The resulting type after applying the &
operator.
sourceimpl BitAndAssign<BufferAttribute> for BufferAttribute
impl BitAndAssign<BufferAttribute> for BufferAttribute
sourcefn bitand_assign(&mut self, other: Self)
fn bitand_assign(&mut self, other: Self)
Performs the &=
operation. Read more
sourceimpl BitOr<BufferAttribute> for BufferAttribute
impl BitOr<BufferAttribute> for BufferAttribute
type Output = BufferAttribute
type Output = BufferAttribute
The resulting type after applying the |
operator.
sourceimpl BitOrAssign<BufferAttribute> for BufferAttribute
impl BitOrAssign<BufferAttribute> for BufferAttribute
sourcefn bitor_assign(&mut self, other: Self)
fn bitor_assign(&mut self, other: Self)
Performs the |=
operation. Read more
sourceimpl Clone for BufferAttribute
impl Clone for BufferAttribute
sourcefn clone(&self) -> BufferAttribute
fn clone(&self) -> BufferAttribute
Returns a copy of the value. Read more
1.0.0fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for BufferAttribute
impl Debug for BufferAttribute
sourceimpl Default for BufferAttribute
impl Default for BufferAttribute
sourcefn default() -> BufferAttribute
fn default() -> BufferAttribute
Returns the “default value” for a type. Read more
sourceimpl PartialEq<BufferAttribute> for BufferAttribute
impl PartialEq<BufferAttribute> for BufferAttribute
sourcefn eq(&self, other: &BufferAttribute) -> bool
fn eq(&self, other: &BufferAttribute) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BufferAttribute) -> bool
fn ne(&self, other: &BufferAttribute) -> bool
This method tests for !=
.
impl Copy for BufferAttribute
impl Eq for BufferAttribute
impl StructuralEq for BufferAttribute
impl StructuralPartialEq for BufferAttribute
Auto Trait Implementations
impl RefUnwindSafe for BufferAttribute
impl Send for BufferAttribute
impl Sync for BufferAttribute
impl Unpin for BufferAttribute
impl UnwindSafe for BufferAttribute
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
sourceimpl<T> RequestCommandParameter for T where
T: Copy,
impl<T> RequestCommandParameter for T where
T: Copy,
default fn before_request_write(
_raw: &T,
walker: &mut DataWalker,
_ctx: &mut CommandContext
) -> Result<(), ResultCode>
default fn before_send_sync_request(
raw: &T,
walker: &mut DataWalker,
_ctx: &mut CommandContext
) -> Result<(), ResultCode>
sourceimpl<T> RequestCommandParameter<T> for T where
T: Copy,
impl<T> RequestCommandParameter<T> for T where
T: Copy,
default fn after_request_read(
ctx: &mut ServerContext<'_>
) -> Result<T, ResultCode>
sourceimpl<T> ResponseCommandParameter for T where
T: Copy,
impl<T> ResponseCommandParameter for T where
T: Copy,
default fn before_response_write(
_raw: &T,
ctx: &mut ServerContext<'_>
) -> Result<(), ResultCode>
default fn after_response_write(
raw: &T,
ctx: &mut ServerContext<'_>
) -> Result<(), ResultCode>
sourceimpl<T> ResponseCommandParameter<T> for T where
T: Copy,
impl<T> ResponseCommandParameter<T> for T where
T: Copy,
default fn after_response_read(
walker: &mut DataWalker,
_ctx: &mut CommandContext
) -> Result<T, ResultCode>
impl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more