Trait lf_gfx::LfLimitsExt

source ·
pub trait LfLimitsExt: SealedLimits {
    // Required methods
    fn intersection<'a>(&self, other: &Limits) -> Limits;
    fn union<'a>(&self, other: &Limits) -> Limits;
}
Expand description

Extensions to [wgpu::Limits].

Required Methods§

source

fn intersection<'a>(&self, other: &Limits) -> Limits

Gets the set of limits supported both by this and the other limits.

source

fn union<'a>(&self, other: &Limits) -> Limits

Gets the set of limits supported by either this ot the other limits.

Implementations on Foreign Types§

source§

impl LfLimitsExt for Limits

source§

fn intersection<'a>(&self, other: &Limits) -> Limits

Gets the set of limits supported both by this and the other limits.

source§

fn union<'a>(&self, other: &Limits) -> Limits

Gets the set of limits supported by either this ot the other limits.

Implementors§