pub struct QueryPoolCreateFlags(/* private fields */);Expand description
Implementations§
Source§impl QueryPoolCreateFlags
impl QueryPoolCreateFlags
pub const fn empty() -> QueryPoolCreateFlags
pub const fn all() -> QueryPoolCreateFlags
pub const fn from_raw(x: u32) -> QueryPoolCreateFlags
pub const fn as_raw(self) -> u32
pub fn is_empty(self) -> bool
pub fn is_all(self) -> bool
pub fn intersects(self, other: QueryPoolCreateFlags) -> bool
Sourcepub fn contains(self, other: QueryPoolCreateFlags) -> bool
pub fn contains(self, other: QueryPoolCreateFlags) -> bool
Returns whether other is a subset of self
Trait Implementations§
Source§impl BitAnd for QueryPoolCreateFlags
impl BitAnd for QueryPoolCreateFlags
Source§type Output = QueryPoolCreateFlags
type Output = QueryPoolCreateFlags
The resulting type after applying the
& operator.Source§fn bitand(self, rhs: QueryPoolCreateFlags) -> QueryPoolCreateFlags
fn bitand(self, rhs: QueryPoolCreateFlags) -> QueryPoolCreateFlags
Performs the
& operation. Read moreSource§impl BitAndAssign for QueryPoolCreateFlags
impl BitAndAssign for QueryPoolCreateFlags
Source§fn bitand_assign(&mut self, rhs: QueryPoolCreateFlags)
fn bitand_assign(&mut self, rhs: QueryPoolCreateFlags)
Performs the
&= operation. Read moreSource§impl BitOr for QueryPoolCreateFlags
impl BitOr for QueryPoolCreateFlags
Source§type Output = QueryPoolCreateFlags
type Output = QueryPoolCreateFlags
The resulting type after applying the
| operator.Source§fn bitor(self, rhs: QueryPoolCreateFlags) -> QueryPoolCreateFlags
fn bitor(self, rhs: QueryPoolCreateFlags) -> QueryPoolCreateFlags
Performs the
| operation. Read moreSource§impl BitOrAssign for QueryPoolCreateFlags
impl BitOrAssign for QueryPoolCreateFlags
Source§fn bitor_assign(&mut self, rhs: QueryPoolCreateFlags)
fn bitor_assign(&mut self, rhs: QueryPoolCreateFlags)
Performs the
|= operation. Read moreSource§impl BitXor for QueryPoolCreateFlags
impl BitXor for QueryPoolCreateFlags
Source§type Output = QueryPoolCreateFlags
type Output = QueryPoolCreateFlags
The resulting type after applying the
^ operator.Source§fn bitxor(self, rhs: QueryPoolCreateFlags) -> QueryPoolCreateFlags
fn bitxor(self, rhs: QueryPoolCreateFlags) -> QueryPoolCreateFlags
Performs the
^ operation. Read moreSource§impl BitXorAssign for QueryPoolCreateFlags
impl BitXorAssign for QueryPoolCreateFlags
Source§fn bitxor_assign(&mut self, rhs: QueryPoolCreateFlags)
fn bitxor_assign(&mut self, rhs: QueryPoolCreateFlags)
Performs the
^= operation. Read moreSource§impl Clone for QueryPoolCreateFlags
impl Clone for QueryPoolCreateFlags
Source§fn clone(&self) -> QueryPoolCreateFlags
fn clone(&self) -> QueryPoolCreateFlags
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 QueryPoolCreateFlags
impl Debug for QueryPoolCreateFlags
Source§impl Default for QueryPoolCreateFlags
impl Default for QueryPoolCreateFlags
Source§fn default() -> QueryPoolCreateFlags
fn default() -> QueryPoolCreateFlags
Returns the “default value” for a type. Read more
Source§impl Hash for QueryPoolCreateFlags
impl Hash for QueryPoolCreateFlags
Source§impl Not for QueryPoolCreateFlags
impl Not for QueryPoolCreateFlags
Source§type Output = QueryPoolCreateFlags
type Output = QueryPoolCreateFlags
The resulting type after applying the
! operator.Source§fn not(self) -> QueryPoolCreateFlags
fn not(self) -> QueryPoolCreateFlags
Performs the unary
! operation. Read moreSource§impl Ord for QueryPoolCreateFlags
impl Ord for QueryPoolCreateFlags
Source§fn cmp(&self, other: &QueryPoolCreateFlags) -> Ordering
fn cmp(&self, other: &QueryPoolCreateFlags) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for QueryPoolCreateFlags
impl PartialEq for QueryPoolCreateFlags
Source§fn eq(&self, other: &QueryPoolCreateFlags) -> bool
fn eq(&self, other: &QueryPoolCreateFlags) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for QueryPoolCreateFlags
impl PartialOrd for QueryPoolCreateFlags
Source§impl Sub for QueryPoolCreateFlags
impl Sub for QueryPoolCreateFlags
Source§type Output = QueryPoolCreateFlags
type Output = QueryPoolCreateFlags
The resulting type after applying the
- operator.Source§fn sub(self, rhs: QueryPoolCreateFlags) -> QueryPoolCreateFlags
fn sub(self, rhs: QueryPoolCreateFlags) -> QueryPoolCreateFlags
Performs the
- operation. Read moreSource§impl SubAssign for QueryPoolCreateFlags
impl SubAssign for QueryPoolCreateFlags
Source§fn sub_assign(&mut self, rhs: QueryPoolCreateFlags)
fn sub_assign(&mut self, rhs: QueryPoolCreateFlags)
Performs the
-= operation. Read moreimpl Copy for QueryPoolCreateFlags
impl Eq for QueryPoolCreateFlags
impl StructuralPartialEq for QueryPoolCreateFlags
Auto Trait Implementations§
impl Freeze for QueryPoolCreateFlags
impl RefUnwindSafe for QueryPoolCreateFlags
impl Send for QueryPoolCreateFlags
impl Sync for QueryPoolCreateFlags
impl Unpin for QueryPoolCreateFlags
impl UnsafeUnpin for QueryPoolCreateFlags
impl UnwindSafe for QueryPoolCreateFlags
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
Source§impl<T> CallHasher for T
impl<T> CallHasher for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<T> FilterHaving<T, Here> for Twhere
T: ?Sized,
impl<T> FilterHaving<T, Here> for Twhere
T: ?Sized,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
fn into_sample(self) -> T
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.