Selection
Read-only, ordered membership copied from items. Filtering preserves its element type, order, duplicates and snapshot provenance. A small selection may retain its entire snapshot. collect, map and similar return ordinary mutable arrays. Elements supplied by callers are not recursively frozen.
Source and package
- Module
- LibTmux
- Package
- LibTmux
- Source
- src/model.jl
- Lib
Tmux .Selection{T}( items::AbstractVector {T}, snapshot::Union{Nothing, LibTmux } ) where T Lib.Snapshot Tmux .Selection(items::AbstractVector {T}; snapshot) where T -
Description#
Selection(items; snapshot=nothing)Methods#
Lib
Tmux .Selection{T}( items::AbstractVector {T}, snapshot::Union{Nothing, LibTmux } ) where T[source]#.Snapshot Lib
Tmux .Selection(items::AbstractVector {T}; snapshot) where T[source]#- Parameters
-
-
items( AbstractArray {T, 1} ) # -
snapshot( Union{Nothing, LibTmux } ) (for.Snapshot Selection(items, snapshot) [overload 1]) # -
snapshot=nothing( Union{Nothing, Snapshot} ) (forSelection(items, snapshot) [overload 2]) #
-
Discussed in Captured queries