Function libnotcurses_sys::ncplane_dup[][src]

pub unsafe extern "C" fn ncplane_dup(
    n: *const ncplane,
    opaque: *mut c_void
) -> *mut ncplane
Expand description

Duplicate an existing ncplane. The new plane will have the same geometry, will duplicate all content, and will start with the same rendering state. The new plane will be immediately above the old one on the z axis, and will be bound to the same parent. Bound planes are not duplicated; the new plane is bound to the parent of ‘n’, but has no bound planes.