Skip to main content

current_buffer

Function current_buffer 

Source
pub fn current_buffer(pa: &Pass) -> Handle
Expand description

Returns a “fixed” Handle for the currently active Buffer.

This Handle will always point to the same Buffer, even when it is not active. If you want a Handle that always points to the current Buffer, see dynamic_buffer.