pub enum AnyBufferNode {
Buffer(BufferNode),
BufferLease(BufferLeaseNode),
}Expand description
Specifies either an owned buffer or a buffer leased from a pool.
Variants
Buffer(BufferNode)
An owned buffer.
BufferLease(BufferLeaseNode)
A buffer leased from a pool.
Trait Implementations
sourceimpl Clone for AnyBufferNode
impl Clone for AnyBufferNode
sourceimpl Debug for AnyBufferNode
impl Debug for AnyBufferNode
sourceimpl From<BufferLeaseNode> for AnyBufferNode
impl From<BufferLeaseNode> for AnyBufferNode
sourcefn from(node: BufferLeaseNode) -> Self
fn from(node: BufferLeaseNode) -> Self
Converts to this type from the input type.
sourceimpl From<BufferNode> for AnyBufferNode
impl From<BufferNode> for AnyBufferNode
sourcefn from(node: BufferNode) -> Self
fn from(node: BufferNode) -> Self
Converts to this type from the input type.
sourceimpl<'a> Index<AnyBufferNode> for Bindings<'a>
impl<'a> Index<AnyBufferNode> for Bindings<'a>
sourceimpl Node for AnyBufferNode
impl Node for AnyBufferNode
sourceimpl View for AnyBufferNode
impl View for AnyBufferNode
type Information = BufferSubresource
type Information = BufferSubresource
The information about the resource interpretation.
type Subresource = BufferSubresource
type Subresource = BufferSubresource
The portion of the resource which is bound.
impl Copy for AnyBufferNode
Auto Trait Implementations
impl RefUnwindSafe for AnyBufferNode
impl Send for AnyBufferNode
impl Sync for AnyBufferNode
impl Unpin for AnyBufferNode
impl UnwindSafe for AnyBufferNode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more