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