Struct screen_13::graph::node::ImageLeaseNode
source · pub struct ImageLeaseNode { /* private fields */ }
Expand description
Resource node.
Trait Implementations§
source§impl<'a> Bind<&mut RenderGraph, ImageLeaseNode> for &'a Arc<Lease<Image>>
impl<'a> Bind<&mut RenderGraph, ImageLeaseNode> for &'a Arc<Lease<Image>>
source§fn bind(self, graph: &mut RenderGraph) -> ImageLeaseNode
fn bind(self, graph: &mut RenderGraph) -> ImageLeaseNode
Binds the resource to a graph-like object. Read more
source§impl Bind<&mut RenderGraph, ImageLeaseNode> for Arc<Lease<Image>>
impl Bind<&mut RenderGraph, ImageLeaseNode> for Arc<Lease<Image>>
source§fn bind(self, graph: &mut RenderGraph) -> ImageLeaseNode
fn bind(self, graph: &mut RenderGraph) -> ImageLeaseNode
Binds the resource to a graph-like object. Read more
source§impl Bind<&mut RenderGraph, ImageLeaseNode> for Lease<Image>
impl Bind<&mut RenderGraph, ImageLeaseNode> for Lease<Image>
source§fn bind(self, graph: &mut RenderGraph) -> ImageLeaseNode
fn bind(self, graph: &mut RenderGraph) -> ImageLeaseNode
Binds the resource to a graph-like object. Read more
source§impl Clone for ImageLeaseNode
impl Clone for ImageLeaseNode
source§impl Debug for ImageLeaseNode
impl Debug for ImageLeaseNode
source§impl From<ImageLeaseNode> for AnyImageNode
impl From<ImageLeaseNode> for AnyImageNode
source§fn from(node: ImageLeaseNode) -> Self
fn from(node: ImageLeaseNode) -> Self
Converts to this type from the input type.
source§impl Hash for ImageLeaseNode
impl Hash for ImageLeaseNode
source§impl<'a> Index<ImageLeaseNode> for Bindings<'a>
impl<'a> Index<ImageLeaseNode> for Bindings<'a>
source§impl Node for ImageLeaseNode
impl Node for ImageLeaseNode
source§impl Ord for ImageLeaseNode
impl Ord for ImageLeaseNode
source§fn cmp(&self, other: &ImageLeaseNode) -> Ordering
fn cmp(&self, other: &ImageLeaseNode) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ImageLeaseNode
impl PartialEq for ImageLeaseNode
source§fn eq(&self, other: &ImageLeaseNode) -> bool
fn eq(&self, other: &ImageLeaseNode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ImageLeaseNode
impl PartialOrd for ImageLeaseNode
source§fn partial_cmp(&self, other: &ImageLeaseNode) -> Option<Ordering>
fn partial_cmp(&self, other: &ImageLeaseNode) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Unbind<RenderGraph, Arc<Lease<Image>>> for ImageLeaseNode
impl Unbind<RenderGraph, Arc<Lease<Image>>> for ImageLeaseNode
source§impl View for ImageLeaseNode
impl View for ImageLeaseNode
§type Information = ImageViewInfo
type Information = ImageViewInfo
The information about the resource interpretation.
§type Subresource = ImageSubresource
type Subresource = ImageSubresource
The portion of the resource which is bound.
impl Copy for ImageLeaseNode
impl Eq for ImageLeaseNode
impl StructuralPartialEq for ImageLeaseNode
Auto Trait Implementations§
impl RefUnwindSafe for ImageLeaseNode
impl Send for ImageLeaseNode
impl Sync for ImageLeaseNode
impl Unpin for ImageLeaseNode
impl UnwindSafe for ImageLeaseNode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.