pub struct ImageAspectFlagBits(/* private fields */);Expand description
Implementations§
Source§impl ImageAspectFlagBits
impl ImageAspectFlagBits
pub const NONE: Self
Sourcepub const MEMORY_PLANE_0: Self
pub const MEMORY_PLANE_0: Self
Bit 7.
Sourcepub const MEMORY_PLANE_1: Self
pub const MEMORY_PLANE_1: Self
Bit 8.
Sourcepub const MEMORY_PLANE_2: Self
pub const MEMORY_PLANE_2: Self
Bit 9.
Sourcepub const MEMORY_PLANE_3: Self
pub const MEMORY_PLANE_3: Self
Bit 10.
pub const fn empty() -> Self
pub const fn from_raw(value: u32) -> Self
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn contains(self, other: Self) -> bool
pub const fn all() -> Self
Trait Implementations§
Source§impl BitAnd for ImageAspectFlagBits
impl BitAnd for ImageAspectFlagBits
Source§impl BitAndAssign for ImageAspectFlagBits
impl BitAndAssign for ImageAspectFlagBits
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOr for ImageAspectFlagBits
impl BitOr for ImageAspectFlagBits
Source§impl BitOrAssign for ImageAspectFlagBits
impl BitOrAssign for ImageAspectFlagBits
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXor for ImageAspectFlagBits
impl BitXor for ImageAspectFlagBits
Source§impl BitXorAssign for ImageAspectFlagBits
impl BitXorAssign for ImageAspectFlagBits
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl Clone for ImageAspectFlagBits
impl Clone for ImageAspectFlagBits
Source§fn clone(&self) -> ImageAspectFlagBits
fn clone(&self) -> ImageAspectFlagBits
Returns a duplicate of the value. Read more
1.0.0 · 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 ImageAspectFlagBits
impl Debug for ImageAspectFlagBits
Source§impl Default for ImageAspectFlagBits
impl Default for ImageAspectFlagBits
Source§fn default() -> ImageAspectFlagBits
fn default() -> ImageAspectFlagBits
Returns the “default value” for a type. Read more
Source§impl Hash for ImageAspectFlagBits
impl Hash for ImageAspectFlagBits
Source§impl Not for ImageAspectFlagBits
impl Not for ImageAspectFlagBits
Source§impl Ord for ImageAspectFlagBits
impl Ord for ImageAspectFlagBits
Source§fn cmp(&self, other: &ImageAspectFlagBits) -> Ordering
fn cmp(&self, other: &ImageAspectFlagBits) -> Ordering
1.21.0 · 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 ImageAspectFlagBits
impl PartialEq for ImageAspectFlagBits
Source§impl PartialOrd for ImageAspectFlagBits
impl PartialOrd for ImageAspectFlagBits
impl Copy for ImageAspectFlagBits
impl Eq for ImageAspectFlagBits
impl StructuralPartialEq for ImageAspectFlagBits
Auto Trait Implementations§
impl Freeze for ImageAspectFlagBits
impl RefUnwindSafe for ImageAspectFlagBits
impl Send for ImageAspectFlagBits
impl Sync for ImageAspectFlagBits
impl Unpin for ImageAspectFlagBits
impl UnsafeUnpin for ImageAspectFlagBits
impl UnwindSafe for ImageAspectFlagBits
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