├── .editorconfig ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── .gitmodules ├── .travis.yml ├── CHANGELOG.md ├── Cargo.toml ├── LICENSE ├── README.md ├── examples └── layout.rs ├── gentest ├── babel.config.cjs ├── fonts │ └── Ahem.ttf ├── gentest-driver.ts ├── gentest-log.js ├── gentest-rust.js ├── gentest-validate.ts ├── gentest.js ├── package-lock.json ├── package.json ├── signedsource.d.ts ├── test-template.html └── tsconfig.json ├── rustfmt.toml ├── src ├── ffi_types │ └── style_unit.rs ├── lib.rs ├── prelude.rs ├── traits.rs ├── types.rs └── wrapper.hpp └── tests ├── absolute_position_test.rs ├── absolute_positiontest.rs ├── align_content_test.rs ├── align_contenttest.rs ├── align_items_test.rs ├── align_itemstest.rs ├── align_self_test.rs ├── align_selftest.rs ├── android_news_feed.rs ├── android_newsfeed.rs ├── aspect_ratio_test.rs ├── aspect_ratiotest.rs ├── auto_test.rs ├── baseline_func_test.rs ├── border_test.rs ├── box_sizingtest.rs ├── computed_margin_test.rs ├── computed_padding_test.rs ├── context_test.rs ├── default_values_test.rs ├── dimension_test.rs ├── dirty_marking.rs ├── display_test.rs ├── edge_test.rs ├── flex_direction_test.rs ├── flex_directiontest.rs ├── flex_test.rs ├── flex_wrap_test.rs ├── flex_wraptest.rs ├── gap_test.rs ├── intrinsic_sizetest.rs ├── justify_content_test.rs ├── justify_contenttest.rs ├── margin_test.rs ├── min_max_dimension_test.rs ├── min_maxdimensiontest.rs ├── node_child_test.rs ├── node_drop_test.rs ├── padding_test.rs ├── percentage_test.rs ├── relayout_test.rs ├── rounding_test.rs ├── size_overflow_test.rs ├── size_overflowtest.rs ├── static_positiontest.rs ├── style_test.rs └── test_utils └── mod.rs /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/.gitmodules -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/README.md -------------------------------------------------------------------------------- /examples/layout.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/examples/layout.rs -------------------------------------------------------------------------------- /gentest/babel.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/gentest/babel.config.cjs -------------------------------------------------------------------------------- /gentest/fonts/Ahem.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/gentest/fonts/Ahem.ttf -------------------------------------------------------------------------------- /gentest/gentest-driver.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/gentest/gentest-driver.ts -------------------------------------------------------------------------------- /gentest/gentest-log.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/gentest/gentest-log.js -------------------------------------------------------------------------------- /gentest/gentest-rust.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/gentest/gentest-rust.js -------------------------------------------------------------------------------- /gentest/gentest-validate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/gentest/gentest-validate.ts -------------------------------------------------------------------------------- /gentest/gentest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/gentest/gentest.js -------------------------------------------------------------------------------- /gentest/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/gentest/package-lock.json -------------------------------------------------------------------------------- /gentest/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/gentest/package.json -------------------------------------------------------------------------------- /gentest/signedsource.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/gentest/signedsource.d.ts -------------------------------------------------------------------------------- /gentest/test-template.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/gentest/test-template.html -------------------------------------------------------------------------------- /gentest/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/gentest/tsconfig.json -------------------------------------------------------------------------------- /rustfmt.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/rustfmt.toml -------------------------------------------------------------------------------- /src/ffi_types/style_unit.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/src/ffi_types/style_unit.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/prelude.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/src/prelude.rs -------------------------------------------------------------------------------- /src/traits.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/src/traits.rs -------------------------------------------------------------------------------- /src/types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/src/types.rs -------------------------------------------------------------------------------- /src/wrapper.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/src/wrapper.hpp -------------------------------------------------------------------------------- /tests/absolute_position_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/absolute_position_test.rs -------------------------------------------------------------------------------- /tests/absolute_positiontest.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/absolute_positiontest.rs -------------------------------------------------------------------------------- /tests/align_content_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/align_content_test.rs -------------------------------------------------------------------------------- /tests/align_contenttest.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/align_contenttest.rs -------------------------------------------------------------------------------- /tests/align_items_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/align_items_test.rs -------------------------------------------------------------------------------- /tests/align_itemstest.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/align_itemstest.rs -------------------------------------------------------------------------------- /tests/align_self_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/align_self_test.rs -------------------------------------------------------------------------------- /tests/align_selftest.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/align_selftest.rs -------------------------------------------------------------------------------- /tests/android_news_feed.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/android_news_feed.rs -------------------------------------------------------------------------------- /tests/android_newsfeed.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/android_newsfeed.rs -------------------------------------------------------------------------------- /tests/aspect_ratio_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/aspect_ratio_test.rs -------------------------------------------------------------------------------- /tests/aspect_ratiotest.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/aspect_ratiotest.rs -------------------------------------------------------------------------------- /tests/auto_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/auto_test.rs -------------------------------------------------------------------------------- /tests/baseline_func_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/baseline_func_test.rs -------------------------------------------------------------------------------- /tests/border_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/border_test.rs -------------------------------------------------------------------------------- /tests/box_sizingtest.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/box_sizingtest.rs -------------------------------------------------------------------------------- /tests/computed_margin_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/computed_margin_test.rs -------------------------------------------------------------------------------- /tests/computed_padding_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/computed_padding_test.rs -------------------------------------------------------------------------------- /tests/context_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/context_test.rs -------------------------------------------------------------------------------- /tests/default_values_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/default_values_test.rs -------------------------------------------------------------------------------- /tests/dimension_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/dimension_test.rs -------------------------------------------------------------------------------- /tests/dirty_marking.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/dirty_marking.rs -------------------------------------------------------------------------------- /tests/display_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/display_test.rs -------------------------------------------------------------------------------- /tests/edge_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/edge_test.rs -------------------------------------------------------------------------------- /tests/flex_direction_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/flex_direction_test.rs -------------------------------------------------------------------------------- /tests/flex_directiontest.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/flex_directiontest.rs -------------------------------------------------------------------------------- /tests/flex_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/flex_test.rs -------------------------------------------------------------------------------- /tests/flex_wrap_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/flex_wrap_test.rs -------------------------------------------------------------------------------- /tests/flex_wraptest.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/flex_wraptest.rs -------------------------------------------------------------------------------- /tests/gap_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/gap_test.rs -------------------------------------------------------------------------------- /tests/intrinsic_sizetest.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/intrinsic_sizetest.rs -------------------------------------------------------------------------------- /tests/justify_content_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/justify_content_test.rs -------------------------------------------------------------------------------- /tests/justify_contenttest.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/justify_contenttest.rs -------------------------------------------------------------------------------- /tests/margin_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/margin_test.rs -------------------------------------------------------------------------------- /tests/min_max_dimension_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/min_max_dimension_test.rs -------------------------------------------------------------------------------- /tests/min_maxdimensiontest.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/min_maxdimensiontest.rs -------------------------------------------------------------------------------- /tests/node_child_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/node_child_test.rs -------------------------------------------------------------------------------- /tests/node_drop_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/node_drop_test.rs -------------------------------------------------------------------------------- /tests/padding_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/padding_test.rs -------------------------------------------------------------------------------- /tests/percentage_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/percentage_test.rs -------------------------------------------------------------------------------- /tests/relayout_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/relayout_test.rs -------------------------------------------------------------------------------- /tests/rounding_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/rounding_test.rs -------------------------------------------------------------------------------- /tests/size_overflow_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/size_overflow_test.rs -------------------------------------------------------------------------------- /tests/size_overflowtest.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/size_overflowtest.rs -------------------------------------------------------------------------------- /tests/static_positiontest.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/static_positiontest.rs -------------------------------------------------------------------------------- /tests/style_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/style_test.rs -------------------------------------------------------------------------------- /tests/test_utils/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bschwind/yoga-rs/HEAD/tests/test_utils/mod.rs --------------------------------------------------------------------------------