Enum screen_13::graph::AnyImageBinding
source · [−]pub enum AnyImageBinding<'a, P> where
P: SharedPointerKind, {
Image(&'a mut ImageBinding<P>),
ImageLeaseBound(&'a mut ImageLeaseBinding<P>),
ImageLeaseUnbound(&'a mut Lease<ImageBinding<P>, P>),
SwapchainImage(&'a mut SwapchainImageBinding<P>),
}Variants
Image(&'a mut ImageBinding<P>)
ImageLeaseBound(&'a mut ImageLeaseBinding<P>)
ImageLeaseUnbound(&'a mut Lease<ImageBinding<P>, P>)
SwapchainImage(&'a mut SwapchainImageBinding<P>)
Implementations
sourceimpl<'a, P> AnyImageBinding<'a, P> where
P: SharedPointerKind,
impl<'a, P> AnyImageBinding<'a, P> where
P: SharedPointerKind,
pub fn access_inner(
&mut self,
access: AccessType
) -> (&Image<P>, AccessType, Option<Subresource>)
pub fn access_inner_subresource(
&mut self,
access: AccessType,
subresource: impl Into<Option<Subresource>>
) -> (&Image<P>, AccessType, Option<Subresource>)
Trait Implementations
sourceimpl<'a, P> AsRef<Image<P>> for AnyImageBinding<'a, P> where
P: SharedPointerKind,
impl<'a, P> AsRef<Image<P>> for AnyImageBinding<'a, P> where
P: SharedPointerKind,
sourceimpl<'a, P: Debug> Debug for AnyImageBinding<'a, P> where
P: SharedPointerKind,
impl<'a, P: Debug> Debug for AnyImageBinding<'a, P> where
P: SharedPointerKind,
sourceimpl<'a, P> From<&'a mut ImageBinding<P>> for AnyImageBinding<'a, P> where
P: SharedPointerKind,
impl<'a, P> From<&'a mut ImageBinding<P>> for AnyImageBinding<'a, P> where
P: SharedPointerKind,
sourcefn from(binding: &'a mut ImageBinding<P>) -> Self
fn from(binding: &'a mut ImageBinding<P>) -> Self
Performs the conversion.
sourceimpl<'a, P> From<&'a mut ImageLeaseBinding<P>> for AnyImageBinding<'a, P> where
P: SharedPointerKind,
impl<'a, P> From<&'a mut ImageLeaseBinding<P>> for AnyImageBinding<'a, P> where
P: SharedPointerKind,
sourcefn from(binding: &'a mut ImageLeaseBinding<P>) -> Self
fn from(binding: &'a mut ImageLeaseBinding<P>) -> Self
Performs the conversion.
sourceimpl<'a, P> From<&'a mut Lease<ImageBinding<P>, P>> for AnyImageBinding<'a, P> where
P: SharedPointerKind,
impl<'a, P> From<&'a mut Lease<ImageBinding<P>, P>> for AnyImageBinding<'a, P> where
P: SharedPointerKind,
sourcefn from(binding: &'a mut Lease<ImageBinding<P>, P>) -> Self
fn from(binding: &'a mut Lease<ImageBinding<P>, P>) -> Self
Performs the conversion.
sourceimpl<'a, P> From<&'a mut SwapchainImageBinding<P>> for AnyImageBinding<'a, P> where
P: SharedPointerKind,
impl<'a, P> From<&'a mut SwapchainImageBinding<P>> for AnyImageBinding<'a, P> where
P: SharedPointerKind,
sourcefn from(binding: &'a mut SwapchainImageBinding<P>) -> Self
fn from(binding: &'a mut SwapchainImageBinding<P>) -> Self
Performs the conversion.
Auto Trait Implementations
impl<'a, P> !RefUnwindSafe for AnyImageBinding<'a, P>
impl<'a, P> !Send for AnyImageBinding<'a, P>
impl<'a, P> !Sync for AnyImageBinding<'a, P>
impl<'a, P> Unpin for AnyImageBinding<'a, P>
impl<'a, P> !UnwindSafe for AnyImageBinding<'a, P>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more