Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/dan-fritchman/Layout21
/ functions
Functions
51 in github.com/dan-fritchman/Layout21
⨍
Functions
51
◇
Types & classes
54
↓ 17 callers
Function
read_i16
Read `len/2` i16s from `len` bytes
gds21/src/lib.rs:554
↓ 13 callers
Method
next
Advance our iterator and return the next element
gds21/src/lib.rs:1716
↓ 10 callers
Function
read_str
Read `len` bytes and convert to `String`
gds21/src/lib.rs:535
↓ 5 callers
Function
read_bytes
Read `len` bytes
gds21/src/lib.rs:547
↓ 5 callers
Function
read_i32
Read `len/4` i32s from `len` bytes
gds21/src/lib.rs:560
↓ 5 callers
Function
stack
Create a [Stack] used by a number of tests
layout21/src/lib.rs:765
↓ 4 callers
Function
resource
Grab the full path of resource-file `fname`
gds21/src/lib.rs:1893
↓ 3 callers
Function
check
Compare `lib` to "golden" data loaded from JSON at path `golden`.
gds21/src/lib.rs:1885
↓ 3 callers
Function
read_f64
Read `len/8` f64s from `len` bytes, decoding GDS's float-format along the way
gds21/src/lib.rs:566
↓ 3 callers
Function
roundtrip
Check `lib` matches across a write-read round-trip cycle
gds21/src/lib.rs:1913
↓ 3 callers
Method
save
Save to file `fname`
gds21/src/lib.rs:1652
↓ 3 callers
Method
to_gds
Convert to a Gds Library
layout21/src/lib.rs:447
↓ 3 callers
Method
to_raw_lib
Convert to a [raw::Library]
layout21/src/lib.rs:250
↓ 2 callers
Method
encode
Encode into bytes and write onto `writer`
gds21/src/lib.rs:357
↓ 2 callers
Method
get_unit_name
(&self)
layout21/src/lib.rs:165
↓ 2 callers
Method
raw_unit
Create a raw-cell covering a single unit of our layer
layout21/src/lib.rs:107
↓ 2 callers
Method
scale
Create a new point scaled by `x` in the x-dimension and by `y` in the y-dimension
layout21/src/lib.rs:409
↓ 2 callers
Function
test_dates
Specified creation date for test cases
gds21/src/lib.rs:1811
↓ 2 callers
Method
to_raw_cell
Convert to a raw layout cell
layout21/src/lib.rs:290
↓ 1 callers
Method
flat_entries
Flatten our [entries] into a vector Removes any nested patterns
layout21/src/lib.rs:84
↓ 1 callers
Function
load_json
Load a library from JSON resource at path `fname`
gds21/src/lib.rs:1897
↓ 1 callers
Method
peek
Peek at our next record, without advancing
gds21/src/lib.rs:1726
↓ 1 callers
Method
points
Convert to a vector of polygon-vertex Points
layout21/src/lib.rs:382
↓ 1 callers
Method
to_records
(&self)
gds21/src/lib.rs:689
↓ 1 callers
Method
valid
Boolean indication of valid record types Many are either deprecated or provisioned without ever being implemented; all from this list are deemed inval
gds21/src/lib.rs:159
Function
create_abstract
()
layout21/src/lib.rs:949
Function
create_cell
()
layout21/src/lib.rs:863
Function
create_lib
()
layout21/src/lib.rs:884
Function
create_lib2
()
layout21/src/lib.rs:908
Function
create_lib3
()
layout21/src/lib.rs:1007
Method
decode
Decode the next binary-encoded [GdsRecord] from open [Read]-object `file`. Returns a [GdsError] if `file` cursor is not on a record-boundary, or if bi
gds21/src/lib.rs:241
Method
default
Default units are nanometers
layout21/src/lib.rs:13
Method
default
Default values for GDS Units: DB-Unit = 1nm User-Unit = 1µm (1000x the DB-Unit )
gds21/src/lib.rs:748
Method
flattener_helper
Helper method for depth-first traversing vectors of (potentially) hierarchical entries Results are appended to vector `accum` in depth-first order
layout21/src/lib.rs:91
Method
fmt
(&self, f: &mut fmt::Formatter)
gds21/src/lib.rs:1785
Method
from
(_e: gds21::GdsError)
layout21/src/lib.rs:592
Method
from
(_e: std::io::Error)
gds21/src/lib.rs:1791
Method
get_unit
Create a [raw::Cell] for the unit area on Layer `layer`
layout21/src/lib.rs:65
Function
it_arrays
()
gds21/src/lib.rs:1859
Function
it_instantiates
()
gds21/src/lib.rs:1835
Function
it_reads
()
gds21/src/lib.rs:1819
Function
it_round_trips
()
gds21/src/lib.rs:1827
Function
it_works
()
layout21protos/src/lib.rs:4
Function
it_works
()
layout21macros/src/lib.rs:4
Method
load
Read a GDS loaded from file at path `file_name`
gds21/src/lib.rs:1595
Method
new
(e: impl Into<Vec<Entry>>, nrep: usize)
layout21/src/lib.rs:38
Method
new
(num1: f64, num2: f64)
gds21/src/lib.rs:740
Method
open
Create a new GdsReader iterator for the file at path `fname`
gds21/src/lib.rs:1706
Method
parse
Parse from records
gds21/src/lib.rs:668
Method
rect
Create a new rectangular outline of dimenions `x` by `y`
layout21/src/lib.rs:378
Function
save_json
(lib: &GdsLibrary, fname: &str)
gds21/src/lib.rs:1904