Closed dhardy closed 5 months ago
Replace trait AutoLayout with LayoutVisitor using RPITIT to move the temporary layout visitor into a method.
AutoLayout
LayoutVisitor
Code should be more inlinable for better optimisation and has reduced size in optimised builds, but debug builds are larger. Size of gallery (bytes):
Also fix docs.rs builds for kas-dylib, kas-resvg. See https://github.com/rust-lang/docs.rs/issues/2359.
kas-dylib
kas-resvg
Replace trait
AutoLayout
withLayoutVisitor
using RPITIT to move the temporary layout visitor into a method.Code should be more inlinable for better optimisation and has reduced size in optimised builds, but debug builds are larger. Size of gallery (bytes):
Also fix docs.rs builds for
kas-dylib
,kas-resvg
. See https://github.com/rust-lang/docs.rs/issues/2359.