Struct nx::svc::MemoryAttribute
source · [−]#[repr(C)]pub struct MemoryAttribute(_);
Implementations
sourceimpl MemoryAttribute
impl MemoryAttribute
pub const fn from(val: u32) -> Self
pub const fn contains(self, other: Self) -> bool
pub const fn get(self) -> u32
pub const fn None() -> Self
pub const fn Borrowed() -> Self
pub const fn IpcMapped() -> Self
pub const fn DeviceMapped() -> Self
pub const fn Uncached() -> Self
Trait Implementations
sourceimpl BitAnd<MemoryAttribute> for MemoryAttribute
impl BitAnd<MemoryAttribute> for MemoryAttribute
type Output = MemoryAttribute
type Output = MemoryAttribute
The resulting type after applying the &
operator.
sourceimpl BitAndAssign<MemoryAttribute> for MemoryAttribute
impl BitAndAssign<MemoryAttribute> for MemoryAttribute
sourcefn bitand_assign(&mut self, other: Self)
fn bitand_assign(&mut self, other: Self)
Performs the &=
operation. Read more
sourceimpl BitOr<MemoryAttribute> for MemoryAttribute
impl BitOr<MemoryAttribute> for MemoryAttribute
type Output = MemoryAttribute
type Output = MemoryAttribute
The resulting type after applying the |
operator.
sourceimpl BitOrAssign<MemoryAttribute> for MemoryAttribute
impl BitOrAssign<MemoryAttribute> for MemoryAttribute
sourcefn bitor_assign(&mut self, other: Self)
fn bitor_assign(&mut self, other: Self)
Performs the |=
operation. Read more
sourceimpl Clone for MemoryAttribute
impl Clone for MemoryAttribute
sourcefn clone(&self) -> MemoryAttribute
fn clone(&self) -> MemoryAttribute
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 MemoryAttribute
impl Debug for MemoryAttribute
sourceimpl Default for MemoryAttribute
impl Default for MemoryAttribute
sourcefn default() -> MemoryAttribute
fn default() -> MemoryAttribute
Returns the “default value” for a type. Read more
sourceimpl PartialEq<MemoryAttribute> for MemoryAttribute
impl PartialEq<MemoryAttribute> for MemoryAttribute
sourcefn eq(&self, other: &MemoryAttribute) -> bool
fn eq(&self, other: &MemoryAttribute) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MemoryAttribute) -> bool
fn ne(&self, other: &MemoryAttribute) -> bool
This method tests for !=
.
impl Copy for MemoryAttribute
impl Eq for MemoryAttribute
impl StructuralEq for MemoryAttribute
impl StructuralPartialEq for MemoryAttribute
Auto Trait Implementations
impl RefUnwindSafe for MemoryAttribute
impl Send for MemoryAttribute
impl Sync for MemoryAttribute
impl Unpin for MemoryAttribute
impl UnwindSafe for MemoryAttribute
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