Skip to main content

apply_orientation_banded

Function apply_orientation_banded 

Source
pub fn apply_orientation_banded(
    src: &BandedBuf,
    orientation: Orientation,
    sizing: BandSizing,
) -> Result<BandedBuf, At<ConvertError>>
Expand description

Apply explicit orientation to a BandedBuf, returning a freshly allocated BandedBuf partitioned according to sizing with Orientation::Identity metadata and zero full-frame contiguous allocation.

Preserves src.hdr(), src.attached_claims(), and src.origin().