pub struct BufferViewCreateFlags(_);Expand description
Implementations
sourceimpl BufferViewCreateFlags
impl BufferViewCreateFlags
pub const fn empty() -> BufferViewCreateFlags
pub const fn from_raw(x: u32) -> BufferViewCreateFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: BufferViewCreateFlags) -> bool
sourcepub const fn contains(self, other: BufferViewCreateFlags) -> bool
pub const fn contains(self, other: BufferViewCreateFlags) -> bool
Returns whether other is a subset of self
Trait Implementations
sourceimpl BitAnd<BufferViewCreateFlags> for BufferViewCreateFlags
impl BitAnd<BufferViewCreateFlags> for BufferViewCreateFlags
type Output = BufferViewCreateFlags
type Output = BufferViewCreateFlags
The resulting type after applying the
& operator.sourcefn bitand(self, rhs: BufferViewCreateFlags) -> BufferViewCreateFlags
fn bitand(self, rhs: BufferViewCreateFlags) -> BufferViewCreateFlags
Performs the
& operation. Read moresourceimpl BitAndAssign<BufferViewCreateFlags> for BufferViewCreateFlags
impl BitAndAssign<BufferViewCreateFlags> for BufferViewCreateFlags
sourcefn bitand_assign(&mut self, rhs: BufferViewCreateFlags)
fn bitand_assign(&mut self, rhs: BufferViewCreateFlags)
Performs the
&= operation. Read moresourceimpl BitOr<BufferViewCreateFlags> for BufferViewCreateFlags
impl BitOr<BufferViewCreateFlags> for BufferViewCreateFlags
type Output = BufferViewCreateFlags
type Output = BufferViewCreateFlags
The resulting type after applying the
| operator.sourcefn bitor(self, rhs: BufferViewCreateFlags) -> BufferViewCreateFlags
fn bitor(self, rhs: BufferViewCreateFlags) -> BufferViewCreateFlags
Performs the
| operation. Read moresourceimpl BitOrAssign<BufferViewCreateFlags> for BufferViewCreateFlags
impl BitOrAssign<BufferViewCreateFlags> for BufferViewCreateFlags
sourcefn bitor_assign(&mut self, rhs: BufferViewCreateFlags)
fn bitor_assign(&mut self, rhs: BufferViewCreateFlags)
Performs the
|= operation. Read moresourceimpl BitXor<BufferViewCreateFlags> for BufferViewCreateFlags
impl BitXor<BufferViewCreateFlags> for BufferViewCreateFlags
type Output = BufferViewCreateFlags
type Output = BufferViewCreateFlags
The resulting type after applying the
^ operator.sourcefn bitxor(self, rhs: BufferViewCreateFlags) -> BufferViewCreateFlags
fn bitxor(self, rhs: BufferViewCreateFlags) -> BufferViewCreateFlags
Performs the
^ operation. Read moresourceimpl BitXorAssign<BufferViewCreateFlags> for BufferViewCreateFlags
impl BitXorAssign<BufferViewCreateFlags> for BufferViewCreateFlags
sourcefn bitxor_assign(&mut self, rhs: BufferViewCreateFlags)
fn bitxor_assign(&mut self, rhs: BufferViewCreateFlags)
Performs the
^= operation. Read moresourceimpl Clone for BufferViewCreateFlags
impl Clone for BufferViewCreateFlags
sourcefn clone(&self) -> BufferViewCreateFlags
fn clone(&self) -> BufferViewCreateFlags
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for BufferViewCreateFlags
impl Debug for BufferViewCreateFlags
sourceimpl Default for BufferViewCreateFlags
impl Default for BufferViewCreateFlags
sourcefn default() -> BufferViewCreateFlags
fn default() -> BufferViewCreateFlags
Returns the “default value” for a type. Read more
sourceimpl Hash for BufferViewCreateFlags
impl Hash for BufferViewCreateFlags
sourceimpl Not for BufferViewCreateFlags
impl Not for BufferViewCreateFlags
type Output = BufferViewCreateFlags
type Output = BufferViewCreateFlags
The resulting type after applying the
! operator.sourcefn not(self) -> BufferViewCreateFlags
fn not(self) -> BufferViewCreateFlags
Performs the unary
! operation. Read moresourceimpl Ord for BufferViewCreateFlags
impl Ord for BufferViewCreateFlags
sourcefn cmp(&self, other: &BufferViewCreateFlags) -> Ordering
fn cmp(&self, other: &BufferViewCreateFlags) -> Ordering
1.21.0 · sourceconst fn max(self, other: Self) -> Selfwhere
Self: Sized,
const fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourceconst fn min(self, other: Self) -> Selfwhere
Self: Sized,
const fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourceconst fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
const fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<BufferViewCreateFlags> for BufferViewCreateFlags
impl PartialEq<BufferViewCreateFlags> for BufferViewCreateFlags
sourcefn eq(&self, other: &BufferViewCreateFlags) -> bool
fn eq(&self, other: &BufferViewCreateFlags) -> bool
sourceimpl PartialOrd<BufferViewCreateFlags> for BufferViewCreateFlags
impl PartialOrd<BufferViewCreateFlags> for BufferViewCreateFlags
sourcefn partial_cmp(&self, other: &BufferViewCreateFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &BufferViewCreateFlags) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for BufferViewCreateFlags
impl Eq for BufferViewCreateFlags
impl StructuralEq for BufferViewCreateFlags
impl StructuralPartialEq for BufferViewCreateFlags
Auto Trait Implementations
impl RefUnwindSafe for BufferViewCreateFlags
impl Send for BufferViewCreateFlags
impl Sync for BufferViewCreateFlags
impl Unpin for BufferViewCreateFlags
impl UnwindSafe for BufferViewCreateFlags
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more