Struct rafx_framework::graph::RenderGraphBufferSpecification[][src]

pub struct RenderGraphBufferSpecification {
    pub size: u64,
    pub resource_type: RafxResourceType,
}

Immutable, fully-specified attributes of a buffer. A constraint is partially specified and the graph will use constraints to solve for the specification

Fields

size: u64resource_type: RafxResourceType

Implementations

impl RenderGraphBufferSpecification[src]

pub fn can_merge(&self, other: &RenderGraphBufferSpecification) -> bool[src]

Returns true if no fields in the two constraints are conflicting

pub fn try_merge(&mut self, other: &RenderGraphBufferSpecification) -> bool[src]

Merge other's constraints into self, but only if there are no conflicts. No modification occurs if any conflict exists

Trait Implementations

impl Clone for RenderGraphBufferSpecification[src]

impl Debug for RenderGraphBufferSpecification[src]

impl Eq for RenderGraphBufferSpecification[src]

impl From<RenderGraphBufferSpecification> for RenderGraphBufferConstraint[src]

impl Hash for RenderGraphBufferSpecification[src]

impl PartialEq<RenderGraphBufferSpecification> for RenderGraphBufferSpecification[src]

impl StructuralEq for RenderGraphBufferSpecification[src]

impl StructuralPartialEq for RenderGraphBufferSpecification[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Resource for T where
    T: Downcast + Send + Sync
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.