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>)
Trait Implementations
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
Converts to this type from the input type.
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
Converts to this type from the input type.
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
Converts to this type from the input type.
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
Converts to this type from the input type.
Auto Trait Implementations
impl<'a, P> !RefUnwindSafe for AnyImageBinding<'a, P>
impl<'a, P> Send for AnyImageBinding<'a, P> where
P: Send,
impl<'a, P> Sync for AnyImageBinding<'a, P> where
P: Send + Sync,
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 · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more