bevy_image

Trait Volume

source
pub trait Volume {
    // Required method
    fn volume(&self) -> usize;
}
Expand description

Used to calculate the volume of an item.

Required Methods§

source

fn volume(&self) -> usize

Implementations on Foreign Types§

source§

impl Volume for Extent3d

source§

fn volume(&self) -> usize

Calculates the volume of the Extent3d.

Implementors§