pub struct QueueFeatures { /* private fields */ }Implementations§
Source§impl QueueFeatures
impl QueueFeatures
pub fn new(features: impl IntoIterator<Item = QueueFeature>) -> Self
pub fn with(self, feature: QueueFeature) -> Self
pub fn supports(&self, feature: QueueFeature) -> bool
pub fn is_empty(&self) -> bool
Trait Implementations§
Source§impl Clone for QueueFeatures
impl Clone for QueueFeatures
Source§fn clone(&self) -> QueueFeatures
fn clone(&self) -> QueueFeatures
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 QueueFeatures
impl Debug for QueueFeatures
Source§impl Default for QueueFeatures
impl Default for QueueFeatures
Source§fn default() -> QueueFeatures
fn default() -> QueueFeatures
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for QueueFeatures
impl RefUnwindSafe for QueueFeatures
impl Send for QueueFeatures
impl Sync for QueueFeatures
impl Unpin for QueueFeatures
impl UnsafeUnpin for QueueFeatures
impl UnwindSafe for QueueFeatures
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