consume

Function consume 

Source
pub fn consume<T: Pessimize>(x: T)
Expand description

Like assume_read, but by value

This is a more ergonomic alternative to assume_read in the common case where the input is Copy or will not be needed anymore.