collections

package
v0.0.0-...-aa75ebd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clone2D

func Clone2D[S ~[][]E, E any](v S) S

func Fill

func Fill[S ~[]E, E any](s S, value E)

Fill replaces the contents of the given slice a shallow copy of the given value

func Repeat

func Repeat[S ~[]E, E any](s S, n int) S

Repeat returns a new slice containing n copies of s

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL