Skip to main content
← PSoXide SDK guides and examples · SDK f2fec1c301f1 · All Cargo features enabled; check feature gates before use.

clip_to_plane_uninit_unchecked

Function clip_to_plane_uninit_unchecked 

Source
pub unsafe fn clip_to_plane_uninit_unchecked<Vertex: Copy, Plane: AttributedClipPlane<Vertex>>(
    source: &[Vertex],
    destination: &mut [MaybeUninit<Vertex>],
    plane: &Plane,
    traversal: ClipTraversal,
) -> usize
Expand description

clip_to_plane_uninit without the bounds check on each write. The first returned-count entries of destination are initialised.

§Safety

clip_to_plane_unchecked’s capacity contract.