pub struct CommandBufferInfo {
pub queue_family_index: u32,
}Expand description
Information used to create a CommandBuffer instance.
Fields§
§queue_family_index: u32Designates the queue family used by the command pool that allocates this command buffer.
Implementations§
Source§impl CommandBufferInfo
impl CommandBufferInfo
Sourcepub fn builder() -> CommandBufferInfoBuilder
pub fn builder() -> CommandBufferInfoBuilder
Creates a default CommandBufferInfoBuilder.
Sourcepub fn into_builder(self) -> CommandBufferInfoBuilder
pub fn into_builder(self) -> CommandBufferInfoBuilder
Converts a CommandBufferInfo into a CommandBufferInfoBuilder.
Trait Implementations§
Source§impl Clone for CommandBufferInfo
impl Clone for CommandBufferInfo
Source§fn clone(&self) -> CommandBufferInfo
fn clone(&self) -> CommandBufferInfo
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 moreSource§impl Debug for CommandBufferInfo
impl Debug for CommandBufferInfo
Source§impl Default for CommandBufferInfo
impl Default for CommandBufferInfo
Source§fn default() -> CommandBufferInfo
fn default() -> CommandBufferInfo
Returns the “default value” for a type. Read more
Source§impl From<CommandBufferInfoBuilder> for CommandBufferInfo
impl From<CommandBufferInfoBuilder> for CommandBufferInfo
Source§fn from(info: CommandBufferInfoBuilder) -> Self
fn from(info: CommandBufferInfoBuilder) -> Self
Converts to this type from the input type.
Source§impl Hash for CommandBufferInfo
impl Hash for CommandBufferInfo
Source§impl PartialEq for CommandBufferInfo
impl PartialEq for CommandBufferInfo
Source§fn eq(&self, other: &CommandBufferInfo) -> bool
fn eq(&self, other: &CommandBufferInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Pool<CommandBufferInfo, CommandBuffer> for FifoPool
impl Pool<CommandBufferInfo, CommandBuffer> for FifoPool
Source§fn resource(
&mut self,
info: CommandBufferInfo,
) -> Result<Lease<CommandBuffer>, DriverError>
fn resource( &mut self, info: CommandBufferInfo, ) -> Result<Lease<CommandBuffer>, DriverError>
Request a resource.
Source§impl Pool<CommandBufferInfo, CommandBuffer> for HashPool
impl Pool<CommandBufferInfo, CommandBuffer> for HashPool
Source§fn resource(
&mut self,
info: CommandBufferInfo,
) -> Result<Lease<CommandBuffer>, DriverError>
fn resource( &mut self, info: CommandBufferInfo, ) -> Result<Lease<CommandBuffer>, DriverError>
Request a resource.
Source§impl Pool<CommandBufferInfo, CommandBuffer> for LazyPool
impl Pool<CommandBufferInfo, CommandBuffer> for LazyPool
Source§fn resource(
&mut self,
info: CommandBufferInfo,
) -> Result<Lease<CommandBuffer>, DriverError>
fn resource( &mut self, info: CommandBufferInfo, ) -> Result<Lease<CommandBuffer>, DriverError>
Request a resource.
impl Copy for CommandBufferInfo
impl Eq for CommandBufferInfo
impl StructuralPartialEq for CommandBufferInfo
Auto Trait Implementations§
impl Freeze for CommandBufferInfo
impl RefUnwindSafe for CommandBufferInfo
impl Send for CommandBufferInfo
impl Sync for CommandBufferInfo
impl Unpin for CommandBufferInfo
impl UnsafeUnpin for CommandBufferInfo
impl UnwindSafe for CommandBufferInfo
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