pub enum AnyBufferNode {
Arg(BufferArg),
Owned(BufferNode),
Pooled(BufferLeaseNode),
}Expand description
Specifies either an owned buffer or one obtained from a pool.
Variants§
Arg(BufferArg)
A buffer supplied as a command stream argument.
Owned(BufferNode)
An owned buffer.
Pooled(BufferLeaseNode)
A buffer obtained from a pool.
Trait Implementations§
Source§impl Clone for AnyBufferNode
impl Clone for AnyBufferNode
Source§fn clone(&self) -> AnyBufferNode
fn clone(&self) -> AnyBufferNode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AnyBufferNode
Source§impl Debug for AnyBufferNode
impl Debug for AnyBufferNode
Source§impl From<AnyBufferNode> for AnyNode
impl From<AnyBufferNode> for AnyNode
Source§fn from(node: AnyBufferNode) -> Self
fn from(node: AnyBufferNode) -> Self
Converts to this type from the input type.
Source§impl<'a> From<AnyBufferNode> for RecordSelection<'a>
impl<'a> From<AnyBufferNode> for RecordSelection<'a>
Source§fn from(node: AnyBufferNode) -> Self
fn from(node: AnyBufferNode) -> Self
Converts to this type from the input type.
Source§impl From<BufferLeaseNode> for AnyBufferNode
impl From<BufferLeaseNode> for AnyBufferNode
Source§fn from(node: BufferLeaseNode) -> Self
fn from(node: BufferLeaseNode) -> Self
Converts to this type from the input type.
Source§impl From<BufferNode> for AnyBufferNode
impl From<BufferNode> for AnyBufferNode
Source§fn from(node: BufferNode) -> Self
fn from(node: BufferNode) -> Self
Converts to this type from the input type.
Source§impl Node for AnyBufferNode
impl Node for AnyBufferNode
Source§impl Subresource for AnyBufferNode
impl Subresource for AnyBufferNode
Source§type Info = <AnyBufferNode as Subresource>::Range
type Info = <AnyBufferNode as Subresource>::Range
The information about the subresource when bound directly to shader descriptors.
Source§type Range = BufferSubresourceRange
type Range = BufferSubresourceRange
The information about the subresource when used indirectly by any part of a graph.
Auto Trait Implementations§
impl Freeze for AnyBufferNode
impl RefUnwindSafe for AnyBufferNode
impl Send for AnyBufferNode
impl Sync for AnyBufferNode
impl Unpin for AnyBufferNode
impl UnsafeUnpin for AnyBufferNode
impl UnwindSafe for AnyBufferNode
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