pub fn can_merge(
        &self,
        other: &RenderGraphImageSpecification,
    ) -> bool {
        if self.samples != other.samples {
            return false;
        }
        if self.format != other.format {
            return false;
        }
        if self.mip_count != other.mip_count {
            return false;
        }
        if self.layer_count != other.layer_count {
            return false;
        }
        if self.extents != other.extents {
            return false;
        }

        true
    }
/// Returns true if no fields in the two constraints are conflicting
Returns true if no fields in the two constraints are conflicting
Returns true if no fields in the two constraints are conflicting
pub fn can_merge(
        &self,
        other: &RenderGraphImageSpecification,
    ) -> bool {
        if self.samples != other.samples {
            return false;
        }
        if self.format != other.format {
            return false;
        }
        if self.mip_count != other.mip_count {
            return false;
        }
        if self.layer_count != other.layer_count {
            return false;
        }
        if self.extents != other.extents {
            return false;
        }
        true
    }
pub fn can_merge ( & self , other : & RenderGraphImageSpecification , ) -> bool { if self . samples != other . samples { return false ; } if self . format != other . format { return false ; } if self . mip_count != other . mip_count { return false ; } if self . layer_count != other . layer_count { return false ; } if self . extents != other . extents { return false ; } true }
Returns true if no fields in the two constraints are conflicting
Returns true if no fields in the two constraints are conflicting
&self
other
&RenderGraphImageSpecification
&self
other
&RenderGraphImageSpecification