Struct screen_13::prelude::vk::PresentGravityFlagsEXT
source · pub struct PresentGravityFlagsEXT(/* private fields */);
Expand description
Implementations§
source§impl PresentGravityFlagsEXT
impl PresentGravityFlagsEXT
pub const fn empty() -> PresentGravityFlagsEXT
pub const fn from_raw(x: u32) -> PresentGravityFlagsEXT
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: PresentGravityFlagsEXT) -> bool
sourcepub const fn contains(self, other: PresentGravityFlagsEXT) -> bool
pub const fn contains(self, other: PresentGravityFlagsEXT) -> bool
Returns whether other
is a subset of self
source§impl PresentGravityFlagsEXT
impl PresentGravityFlagsEXT
pub const MIN: PresentGravityFlagsEXT = _
pub const MAX: PresentGravityFlagsEXT = _
pub const CENTERED: PresentGravityFlagsEXT = _
Trait Implementations§
source§impl BitAnd for PresentGravityFlagsEXT
impl BitAnd for PresentGravityFlagsEXT
§type Output = PresentGravityFlagsEXT
type Output = PresentGravityFlagsEXT
The resulting type after applying the
&
operator.source§fn bitand(self, rhs: PresentGravityFlagsEXT) -> PresentGravityFlagsEXT
fn bitand(self, rhs: PresentGravityFlagsEXT) -> PresentGravityFlagsEXT
Performs the
&
operation. Read moresource§impl BitAndAssign for PresentGravityFlagsEXT
impl BitAndAssign for PresentGravityFlagsEXT
source§fn bitand_assign(&mut self, rhs: PresentGravityFlagsEXT)
fn bitand_assign(&mut self, rhs: PresentGravityFlagsEXT)
Performs the
&=
operation. Read moresource§impl BitOr for PresentGravityFlagsEXT
impl BitOr for PresentGravityFlagsEXT
§type Output = PresentGravityFlagsEXT
type Output = PresentGravityFlagsEXT
The resulting type after applying the
|
operator.source§fn bitor(self, rhs: PresentGravityFlagsEXT) -> PresentGravityFlagsEXT
fn bitor(self, rhs: PresentGravityFlagsEXT) -> PresentGravityFlagsEXT
Performs the
|
operation. Read moresource§impl BitOrAssign for PresentGravityFlagsEXT
impl BitOrAssign for PresentGravityFlagsEXT
source§fn bitor_assign(&mut self, rhs: PresentGravityFlagsEXT)
fn bitor_assign(&mut self, rhs: PresentGravityFlagsEXT)
Performs the
|=
operation. Read moresource§impl BitXor for PresentGravityFlagsEXT
impl BitXor for PresentGravityFlagsEXT
§type Output = PresentGravityFlagsEXT
type Output = PresentGravityFlagsEXT
The resulting type after applying the
^
operator.source§fn bitxor(self, rhs: PresentGravityFlagsEXT) -> PresentGravityFlagsEXT
fn bitxor(self, rhs: PresentGravityFlagsEXT) -> PresentGravityFlagsEXT
Performs the
^
operation. Read moresource§impl BitXorAssign for PresentGravityFlagsEXT
impl BitXorAssign for PresentGravityFlagsEXT
source§fn bitxor_assign(&mut self, rhs: PresentGravityFlagsEXT)
fn bitxor_assign(&mut self, rhs: PresentGravityFlagsEXT)
Performs the
^=
operation. Read moresource§impl Clone for PresentGravityFlagsEXT
impl Clone for PresentGravityFlagsEXT
source§fn clone(&self) -> PresentGravityFlagsEXT
fn clone(&self) -> PresentGravityFlagsEXT
Returns a copy 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 PresentGravityFlagsEXT
impl Debug for PresentGravityFlagsEXT
source§impl Default for PresentGravityFlagsEXT
impl Default for PresentGravityFlagsEXT
source§fn default() -> PresentGravityFlagsEXT
fn default() -> PresentGravityFlagsEXT
Returns the “default value” for a type. Read more
source§impl Hash for PresentGravityFlagsEXT
impl Hash for PresentGravityFlagsEXT
source§impl Not for PresentGravityFlagsEXT
impl Not for PresentGravityFlagsEXT
§type Output = PresentGravityFlagsEXT
type Output = PresentGravityFlagsEXT
The resulting type after applying the
!
operator.source§fn not(self) -> PresentGravityFlagsEXT
fn not(self) -> PresentGravityFlagsEXT
Performs the unary
!
operation. Read moresource§impl Ord for PresentGravityFlagsEXT
impl Ord for PresentGravityFlagsEXT
source§fn cmp(&self, other: &PresentGravityFlagsEXT) -> Ordering
fn cmp(&self, other: &PresentGravityFlagsEXT) -> 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 PresentGravityFlagsEXT
impl PartialEq for PresentGravityFlagsEXT
source§fn eq(&self, other: &PresentGravityFlagsEXT) -> bool
fn eq(&self, other: &PresentGravityFlagsEXT) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PresentGravityFlagsEXT
impl PartialOrd for PresentGravityFlagsEXT
source§fn partial_cmp(&self, other: &PresentGravityFlagsEXT) -> Option<Ordering>
fn partial_cmp(&self, other: &PresentGravityFlagsEXT) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
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 PresentGravityFlagsEXT
impl Eq for PresentGravityFlagsEXT
impl StructuralPartialEq for PresentGravityFlagsEXT
Auto Trait Implementations§
impl Freeze for PresentGravityFlagsEXT
impl RefUnwindSafe for PresentGravityFlagsEXT
impl Send for PresentGravityFlagsEXT
impl Sync for PresentGravityFlagsEXT
impl Unpin for PresentGravityFlagsEXT
impl UnwindSafe for PresentGravityFlagsEXT
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> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.