Struct screen_13::graph::AccelerationStructureLeaseBinding
source · [−]pub struct AccelerationStructureLeaseBinding<P>(pub Lease<AccelerationStructureBinding<P>, P>)
where
P: SharedPointerKind;Tuple Fields
0: Lease<AccelerationStructureBinding<P>, P>Methods from Deref<Target = AccelerationStructureBinding<P>>
sourcepub fn get(&self) -> &AccelerationStructure<P>
pub fn get(&self) -> &AccelerationStructure<P>
Returns a borrow.
sourcepub fn get_mut(&mut self) -> Option<&mut AccelerationStructure<P>>
pub fn get_mut(&mut self) -> Option<&mut AccelerationStructure<P>>
Returns a mutable borrow only if no other clones of this shared item exist.
pub fn info(&self) -> &AccelerationStructureInfo
Trait Implementations
sourceimpl<P> Bind<&'_ mut RenderGraph<P>, AccelerationStructureLeaseNode<P>, P> for AccelerationStructureLeaseBinding<P> where
P: SharedPointerKind,
impl<P> Bind<&'_ mut RenderGraph<P>, AccelerationStructureLeaseNode<P>, P> for AccelerationStructureLeaseBinding<P> where
P: SharedPointerKind,
fn bind(self, graph: &mut RenderGraph<P>) -> AccelerationStructureLeaseNode<P>
sourceimpl<P: Debug> Debug for AccelerationStructureLeaseBinding<P> where
P: SharedPointerKind,
impl<P: Debug> Debug for AccelerationStructureLeaseBinding<P> where
P: SharedPointerKind,
sourceimpl<P> Deref for AccelerationStructureLeaseBinding<P> where
P: SharedPointerKind,
impl<P> Deref for AccelerationStructureLeaseBinding<P> where
P: SharedPointerKind,
type Target = AccelerationStructureBinding<P>
type Target = AccelerationStructureBinding<P>
The resulting type after dereferencing.
sourceimpl<P> DerefMut for AccelerationStructureLeaseBinding<P> where
P: SharedPointerKind,
impl<P> DerefMut for AccelerationStructureLeaseBinding<P> where
P: SharedPointerKind,
sourceimpl<P> Unbind<RenderGraph<P>, AccelerationStructureLeaseBinding<P>> for AccelerationStructureLeaseNode<P> where
P: SharedPointerKind + Send + 'static,
impl<P> Unbind<RenderGraph<P>, AccelerationStructureLeaseBinding<P>> for AccelerationStructureLeaseNode<P> where
P: SharedPointerKind + Send + 'static,
fn unbind(
self,
graph: &mut RenderGraph<P>
) -> AccelerationStructureLeaseBinding<P>
Auto Trait Implementations
impl<P> !RefUnwindSafe for AccelerationStructureLeaseBinding<P>
impl<P> Send for AccelerationStructureLeaseBinding<P> where
P: Send,
impl<P> Sync for AccelerationStructureLeaseBinding<P> where
P: Send + Sync,
impl<P> Unpin for AccelerationStructureLeaseBinding<P> where
P: Unpin,
impl<P> !UnwindSafe for AccelerationStructureLeaseBinding<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