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§