Struct nx::gpu::GraphicsAllocatorUsage
source · [−]#[repr(C)]pub struct GraphicsAllocatorUsage(_);
Implementations
sourceimpl GraphicsAllocatorUsage
impl GraphicsAllocatorUsage
pub const fn from(val: u32) -> Self
pub const fn contains(self, other: Self) -> bool
pub const fn get(self) -> u32
pub const fn SoftwareReadNever() -> Self
pub const fn SoftwareReadRarely() -> Self
pub const fn SoftwareReadOften() -> Self
pub const fn SoftwareReadMask() -> Self
pub const fn SoftwareWriteNever() -> Self
pub const fn SoftwareWriteRarely() -> Self
pub const fn SoftwareWriteOften() -> Self
pub const fn SoftwareWriteMask() -> Self
pub const fn HardwareTexture() -> Self
pub const fn HardwareRender() -> Self
pub const fn Hardware2d() -> Self
pub const fn HardwareComposer() -> Self
pub const fn HardwareFramebuffer() -> Self
pub const fn HardwareExternalDisplay() -> Self
pub const fn HardwareProtected() -> Self
pub const fn HardwareCursor() -> Self
pub const fn HardwareVideoEncoder() -> Self
pub const fn HardwareCameraWrite() -> Self
pub const fn HardwareCameraRead() -> Self
pub const fn HardwareCameraZSL() -> Self
pub const fn HardwareCameraMask() -> Self
pub const fn HardwareMask() -> Self
pub const fn RenderScript() -> Self
Trait Implementations
sourceimpl BitAnd<GraphicsAllocatorUsage> for GraphicsAllocatorUsage
impl BitAnd<GraphicsAllocatorUsage> for GraphicsAllocatorUsage
type Output = GraphicsAllocatorUsage
type Output = GraphicsAllocatorUsage
The resulting type after applying the &
operator.
sourceimpl BitAndAssign<GraphicsAllocatorUsage> for GraphicsAllocatorUsage
impl BitAndAssign<GraphicsAllocatorUsage> for GraphicsAllocatorUsage
sourcefn bitand_assign(&mut self, other: Self)
fn bitand_assign(&mut self, other: Self)
Performs the &=
operation. Read more
sourceimpl BitOr<GraphicsAllocatorUsage> for GraphicsAllocatorUsage
impl BitOr<GraphicsAllocatorUsage> for GraphicsAllocatorUsage
type Output = GraphicsAllocatorUsage
type Output = GraphicsAllocatorUsage
The resulting type after applying the |
operator.
sourceimpl BitOrAssign<GraphicsAllocatorUsage> for GraphicsAllocatorUsage
impl BitOrAssign<GraphicsAllocatorUsage> for GraphicsAllocatorUsage
sourcefn bitor_assign(&mut self, other: Self)
fn bitor_assign(&mut self, other: Self)
Performs the |=
operation. Read more
sourceimpl Clone for GraphicsAllocatorUsage
impl Clone for GraphicsAllocatorUsage
sourcefn clone(&self) -> GraphicsAllocatorUsage
fn clone(&self) -> GraphicsAllocatorUsage
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 GraphicsAllocatorUsage
impl Debug for GraphicsAllocatorUsage
sourceimpl Default for GraphicsAllocatorUsage
impl Default for GraphicsAllocatorUsage
sourcefn default() -> GraphicsAllocatorUsage
fn default() -> GraphicsAllocatorUsage
Returns the “default value” for a type. Read more
sourceimpl PartialEq<GraphicsAllocatorUsage> for GraphicsAllocatorUsage
impl PartialEq<GraphicsAllocatorUsage> for GraphicsAllocatorUsage
sourcefn eq(&self, other: &GraphicsAllocatorUsage) -> bool
fn eq(&self, other: &GraphicsAllocatorUsage) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GraphicsAllocatorUsage) -> bool
fn ne(&self, other: &GraphicsAllocatorUsage) -> bool
This method tests for !=
.
impl Copy for GraphicsAllocatorUsage
impl Eq for GraphicsAllocatorUsage
impl StructuralEq for GraphicsAllocatorUsage
impl StructuralPartialEq for GraphicsAllocatorUsage
Auto Trait Implementations
impl RefUnwindSafe for GraphicsAllocatorUsage
impl Send for GraphicsAllocatorUsage
impl Sync for GraphicsAllocatorUsage
impl Unpin for GraphicsAllocatorUsage
impl UnwindSafe for GraphicsAllocatorUsage
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