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§
sourcefn intersection<'a>(&self, other: &Limits) -> Limits
fn intersection<'a>(&self, other: &Limits) -> Limits
Gets the set of limits supported both by this and the other limits.