Struct sierra::LayoutTransition [−][src]
pub struct LayoutTransition<'a> { pub image: &'a Image, pub old_access: AccessFlags, pub old_layout: Option<Layout>, pub new_access: AccessFlags, pub new_layout: Layout, pub range: SubresourceRange, }
Fields
image: &'a Image
old_access: AccessFlags
old_layout: Option<Layout>
new_access: AccessFlags
new_layout: Layout
range: SubresourceRange
Implementations
pub fn transition_whole(
image: &'a Image,
access: Range<AccessFlags>,
layout: Range<Layout>
) -> Self
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for LayoutTransition<'a>
impl<'a> Send for LayoutTransition<'a>
impl<'a> Sync for LayoutTransition<'a>
impl<'a> Unpin for LayoutTransition<'a>
impl<'a> !UnwindSafe for LayoutTransition<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash,
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more