Function libnotcurses_sys::ncplane_halign[][src]

pub fn ncplane_halign(
    plane: &NcPlane,
    align: NcAlign,
    cols: NcDim
) -> NcIntResult
Expand description

Returns the column at which cols columns ought start in order to be aligned according to align within this NcPlane.

Returns -NCRESULT_MAX if NCALIGN_UNALIGNED or invalid NcAlign.

Method: NcPlane.halign().