[−][src]Struct vulkano::swapchain::SupportedSurfaceTransforms
List of supported composite alpha modes.
Fields
identity: bool
rotate90: bool
rotate180: bool
rotate270: bool
horizontal_mirror: bool
horizontal_mirror_rotate90: bool
horizontal_mirror_rotate180: bool
horizontal_mirror_rotate270: bool
inherit: bool
Methods
impl SupportedSurfaceTransforms
[src]
pub fn none() -> SupportedSurfaceTransforms
[src]
Builds a SupportedSurfaceTransforms
with all fields set to false.
pub fn supports(&self, value: SurfaceTransform) -> bool
[src]
Returns true if the given SurfaceTransform
is in this list.
ⓘImportant traits for SupportedSurfaceTransformsIterpub fn iter(&self) -> SupportedSurfaceTransformsIter
[src]
ⓘImportant traits for SupportedSurfaceTransformsIter
Returns an iterator to the list of supported composite alpha.
Trait Implementations
impl Eq for SupportedSurfaceTransforms
[src]
impl Clone for SupportedSurfaceTransforms
[src]
fn clone(&self) -> SupportedSurfaceTransforms
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<SupportedSurfaceTransforms> for SupportedSurfaceTransforms
[src]
fn eq(&self, other: &SupportedSurfaceTransforms) -> bool
[src]
fn ne(&self, other: &SupportedSurfaceTransforms) -> bool
[src]
impl Copy for SupportedSurfaceTransforms
[src]
impl Debug for SupportedSurfaceTransforms
[src]
Auto Trait Implementations
impl Send for SupportedSurfaceTransforms
impl Unpin for SupportedSurfaceTransforms
impl Sync for SupportedSurfaceTransforms
impl UnwindSafe for SupportedSurfaceTransforms
impl RefUnwindSafe for SupportedSurfaceTransforms
Blanket Implementations
impl<T> Content for T
[src]
fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]
fn is_size_suitable(usize) -> bool
[src]
fn indiv_size() -> usize
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,