Struct vulkano::swapchain::SupportedCompositeAlpha [−][src]
pub struct SupportedCompositeAlpha { pub opaque: bool, pub pre_multiplied: bool, pub post_multiplied: bool, pub inherit: bool, }
List of supported composite alpha modes.
See the docs of CompositeAlpha
.
Fields
opaque: bool
pre_multiplied: bool
post_multiplied: bool
inherit: bool
Implementations
impl SupportedCompositeAlpha
[src]
impl SupportedCompositeAlpha
[src]pub fn none() -> SupportedCompositeAlpha
[src]
pub fn none() -> SupportedCompositeAlpha
[src]Builds a SupportedCompositeAlpha
with all fields set to false.
pub fn supports(&self, value: CompositeAlpha) -> bool
[src]
pub fn supports(&self, value: CompositeAlpha) -> bool
[src]Returns true if the given CompositeAlpha
is in this list.
pub fn iter(&self) -> SupportedCompositeAlphaIterⓘNotable traits for SupportedCompositeAlphaIter
impl Iterator for SupportedCompositeAlphaIter type Item = CompositeAlpha;
[src]
pub fn iter(&self) -> SupportedCompositeAlphaIterⓘNotable traits for SupportedCompositeAlphaIter
impl Iterator for SupportedCompositeAlphaIter type Item = CompositeAlpha;
[src]Returns an iterator to the list of supported composite alpha.
Trait Implementations
impl Clone for SupportedCompositeAlpha
[src]
impl Clone for SupportedCompositeAlpha
[src]fn clone(&self) -> SupportedCompositeAlpha
[src]
fn clone(&self) -> SupportedCompositeAlpha
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for SupportedCompositeAlpha
[src]
impl Debug for SupportedCompositeAlpha
[src]impl From<u32> for SupportedCompositeAlpha
[src]
impl From<u32> for SupportedCompositeAlpha
[src]fn from(val: CompositeAlphaFlagsKHR) -> SupportedCompositeAlpha
[src]
fn from(val: CompositeAlphaFlagsKHR) -> SupportedCompositeAlpha
[src]Performs the conversion.
impl PartialEq<SupportedCompositeAlpha> for SupportedCompositeAlpha
[src]
impl PartialEq<SupportedCompositeAlpha> for SupportedCompositeAlpha
[src]fn eq(&self, other: &SupportedCompositeAlpha) -> bool
[src]
fn eq(&self, other: &SupportedCompositeAlpha) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &SupportedCompositeAlpha) -> bool
[src]
fn ne(&self, other: &SupportedCompositeAlpha) -> bool
[src]This method tests for !=
.
impl Copy for SupportedCompositeAlpha
[src]
impl Eq for SupportedCompositeAlpha
[src]
impl StructuralEq for SupportedCompositeAlpha
[src]
impl StructuralPartialEq for SupportedCompositeAlpha
[src]
Auto Trait Implementations
impl RefUnwindSafe for SupportedCompositeAlpha
impl Send for SupportedCompositeAlpha
impl Sync for SupportedCompositeAlpha
impl Unpin for SupportedCompositeAlpha
impl UnwindSafe for SupportedCompositeAlpha
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Content for T
[src]
impl<T> Content for T
[src]pub fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]
pub fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]Builds a pointer to this type from a raw pointer.
pub fn is_size_suitable(usize) -> bool
[src]
pub fn is_size_suitable(usize) -> bool
[src]Returns true if the size is suitable to store a type like this.
pub fn indiv_size() -> usize
[src]
pub fn indiv_size() -> usize
[src]Returns the size of an individual element.
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more