pub fn as_vec(&self) -> Option<Vec<u32>> {
    // TODO(issue#9) OFFSCREEN is_complete_for_offscreen also that doesn't need
    // presentation.
    if !self.is_complete() {
      return None;
    }

    Some(vec![
      self.graphics_queue_family.unwrap(),
      // TODO(issue#9) OFFSCREEN no presentation if it is none since that's allowed.
      self.presentation_queue_family.unwrap(),
      self.transfer_queue_family.unwrap(),
    ])
  }
/// Returns all the queue indices as an array for easily handing over to
/// Vulkan.  Returns None if not complete
Returns all the queue indices as an array for easily handing over to
Vulkan.  Returns None if not complete
Returns all the queue indices as an array for easily handing over to Vulkan . Returns None if not complete
pub fn as_vec(&self) -> Option<Vec<u32>> {
    // TODO(issue#9) OFFSCREEN is_complete_for_offscreen also that doesn't need
    // presentation.
    if !self.is_complete() {
      return None;
    }
    Some(vec![
      self.graphics_queue_family.unwrap(),
      // TODO(issue#9) OFFSCREEN no presentation if it is none since that's allowed.
      self.presentation_queue_family.unwrap(),
      self.transfer_queue_family.unwrap(),
    ])
  }
pub fn as_vec ( & self ) -> Option < Vec < u32 > > { // TODO(issue#9) OFFSCREEN is_complete_for_offscreen also that doesn't need // presentation. if ! self . is_complete ( ) { return None ; } Some ( vec ! [ self graphics_queue_family unwrap ( ) // TODO(issue#9) OFFSCREEN no presentation if it is none since that's allowed. self presentation_queue_family unwrap ( ) self transfer_queue_family unwrap ( ) ] ) }
Returns all the queue indices as an array for easily handing over to
Vulkan.
Returns all the queue indices as an array for easily handing over to Vulkan .
&self
&self