pub struct BufferAccess {
pub access: Access,
pub usage: Usage,
pub stages: PipelineStage,
}Expand description
Buffer access node will perform.
Node must not perform any access to the buffer not specified in access.
All access must be between logically first and last stages.
Fields§
§access: AccessAccess flags.
usage: UsageIntended usage flags for buffer. TODO: Could derive from access?
stages: PipelineStagePipeline stages at which buffer is accessd.
Trait Implementations§
Source§impl Clone for BufferAccess
impl Clone for BufferAccess
Source§fn clone(&self) -> BufferAccess
fn clone(&self) -> BufferAccess
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BufferAccess
impl Debug for BufferAccess
impl Copy for BufferAccess
Auto Trait Implementations§
impl Freeze for BufferAccess
impl RefUnwindSafe for BufferAccess
impl Send for BufferAccess
impl Sync for BufferAccess
impl Unpin for BufferAccess
impl UnwindSafe for BufferAccess
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more