pub struct PresentScalingFlagBitsKHR(/* private fields */);Expand description
Implementations§
Source§impl PresentScalingFlagBitsKHR
impl PresentScalingFlagBitsKHR
Sourcepub const ONE_TO_ONE: Self
pub const ONE_TO_ONE: Self
Bit 0.
Sourcepub const ASPECT_RATIO_STRETCH: Self
pub const ASPECT_RATIO_STRETCH: Self
Bit 1.
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 PresentScalingFlagBitsKHR
impl BitAnd for PresentScalingFlagBitsKHR
Source§impl BitAndAssign for PresentScalingFlagBitsKHR
impl BitAndAssign for PresentScalingFlagBitsKHR
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOr for PresentScalingFlagBitsKHR
impl BitOr for PresentScalingFlagBitsKHR
Source§impl BitOrAssign for PresentScalingFlagBitsKHR
impl BitOrAssign for PresentScalingFlagBitsKHR
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXor for PresentScalingFlagBitsKHR
impl BitXor for PresentScalingFlagBitsKHR
Source§impl BitXorAssign for PresentScalingFlagBitsKHR
impl BitXorAssign for PresentScalingFlagBitsKHR
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl Clone for PresentScalingFlagBitsKHR
impl Clone for PresentScalingFlagBitsKHR
Source§fn clone(&self) -> PresentScalingFlagBitsKHR
fn clone(&self) -> PresentScalingFlagBitsKHR
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 PresentScalingFlagBitsKHR
impl Debug for PresentScalingFlagBitsKHR
Source§impl Default for PresentScalingFlagBitsKHR
impl Default for PresentScalingFlagBitsKHR
Source§fn default() -> PresentScalingFlagBitsKHR
fn default() -> PresentScalingFlagBitsKHR
Returns the “default value” for a type. Read more
Source§impl Hash for PresentScalingFlagBitsKHR
impl Hash for PresentScalingFlagBitsKHR
Source§impl Not for PresentScalingFlagBitsKHR
impl Not for PresentScalingFlagBitsKHR
Source§impl Ord for PresentScalingFlagBitsKHR
impl Ord for PresentScalingFlagBitsKHR
Source§fn cmp(&self, other: &PresentScalingFlagBitsKHR) -> Ordering
fn cmp(&self, other: &PresentScalingFlagBitsKHR) -> 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 PartialOrd for PresentScalingFlagBitsKHR
impl PartialOrd for PresentScalingFlagBitsKHR
impl Copy for PresentScalingFlagBitsKHR
impl Eq for PresentScalingFlagBitsKHR
impl StructuralPartialEq for PresentScalingFlagBitsKHR
Auto Trait Implementations§
impl Freeze for PresentScalingFlagBitsKHR
impl RefUnwindSafe for PresentScalingFlagBitsKHR
impl Send for PresentScalingFlagBitsKHR
impl Sync for PresentScalingFlagBitsKHR
impl Unpin for PresentScalingFlagBitsKHR
impl UnsafeUnpin for PresentScalingFlagBitsKHR
impl UnwindSafe for PresentScalingFlagBitsKHR
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