pub fn without(mut self, layer: Layer) -> Self {
        assert!(usize::from(layer) < Self::TOTAL_LAYERS);
        self.0 &= !(1 << layer);
        self
    }
/// Removes the given rendering layer.
///
/// # Panics
/// Panics when called with a layer greater than `TOTAL_LAYERS - 1`.
Removes the given rendering layer.
Removes the given rendering layer .
pub fn without(mut self, layer: Layer) -> Self {
        assert!(usize::from(layer) < Self::TOTAL_LAYERS);
        self.0 &= !(1 << layer);
        self
    }
pub fn without ( mut self , layer : Layer ) -> Self { assert ! ( usize from ( layer ) Self TOTAL_LAYERS ) ; self . 0 &= ! ( 1 << layer ) ; self }
Removes the given rendering layer.
Removes the given rendering layer .
mut self
layer
Layer
mut self
layer
Layer
panics
Panics when called with a layer greater than `TOTAL_LAYERS - 1`.
Panics when called with a layer greater than ` TOTAL_LAYERS - 1 ` .