slice

package module
v0.0.0-...-5c5a60c Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: MIT Imports: 0 Imported by: 0

README

slice

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Slice

type Slice[M any] struct {
	// contains filtered or unexported fields
}

func (*Slice[M]) Append

func (s *Slice[M]) Append(d Slice[M])

func (Slice[M]) Copy

func (s Slice[M]) Copy() Slice[M]

func (*Slice[M]) Cut

func (s *Slice[M]) Cut(start int, end int)

func (*Slice[M]) CutGC

func (s *Slice[M]) CutGC(start int, end int)

func (*Slice[M]) Delete

func (s *Slice[M]) Delete(index int)

func (*Slice[M]) DeleteGC

func (s *Slice[M]) DeleteGC(index int)

func (Slice[M]) GetLength

func (s Slice[M]) GetLength() int

func (Slice[M]) GetRaw

func (s Slice[M]) GetRaw() []M

func (*Slice[M]) Pop

func (s *Slice[M]) Pop() M

func (*Slice[M]) Push

func (s *Slice[M]) Push(element M)

func (*Slice[M]) Shift

func (s *Slice[M]) Shift() M

Jump to

Keyboard shortcuts

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