 package
    
    
    
      package
    
    
      
        
      
    
   
    
      
  
    
      
  
    
      Version: 
        v0.13.1
    
    
      Opens a new window with list of versions in this module.
    
    
    
  
      
  
    Published: Jun 20, 2024
  
      
  
    License: AGPL-3.0
      
    
  
  
    Opens a new window with license information.
  
      
        
  
    
      Imports: 0
    
  
  
    Opens a new window with list of imports.
  
        
  
    
       Imported by: 0
    
  
  
    Opens a new window with list of known importers.
  
      
    
   
  
  
    
   
    
      
    
    
    
  
    
      
      
        
          
  
    
       Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    
      
        
 
  
  
  
  
  
  
  
      
  
  
    
    
    
      type Path[Elem any] struct {
	E Elem
	P *Path[Elem]
}
     
  Path recursively represents a path.
The path represented by this Path is constructed by
extending path P with element E.
For example, the path "0 -> 1 -> 2" is represented as
&Path[int]{
    E: 2,
    P: &Path[int]{
        E: 1,
        P: &Path[int]{
            E: 0,
            P: nil,
        }
    },
}
    
  
  
    
    
    
      func (p *Path[Elem]) ToList() []Elem
     
  ToList describes the path represented by this Path as a list,
whose items are the elements along the path, from the start to the end.
The client should guarantee that there is no change along the path
during the call to this method.
  
   
  
       
      
     
   
        
      
      
        
  
    
       Source Files
      ¶
      Source Files
      ¶
    
   
      
      
     
   
   Click to show internal directories. 
   Click to hide internal directories.