pub fn create_command_pool<R>(
        &self,
        family: FamilyId,
    ) -> Result<CommandPool<B, QueueType, R>, failure::Error>
    where
        R: Reset,
    {
        self.family(family)
            .create_pool(&self.device)
            .map_err(Into::into)
    }
/// Create new command pool for specified family.
Create new command pool for specified family.
Create new command pool for specified family .
pub fn create_command_pool<R>(
        &self,
        family: FamilyId,
    ) -> Result<CommandPool<B, QueueType, R>, failure::Error>
    where
        R: Reset,
    {
        self.family(family)
            .create_pool(&self.device)
            .map_err(Into::into)
    }
pub fn create_command_pool < R > ( & self , family : FamilyId , ) -> Result < CommandPool < B , QueueType , R > , failure :: Error > where R : Reset , { self . family ( family ) . create_pool ( & self . device ) . map_err ( Into :: into ) }
Create new command pool for specified family.
Create new command pool for specified family .
&self
family
FamilyId
&self
family
FamilyId