const-field-offset 0.2.0

Derive macro providing const field offsets using core::mem::offset_of!
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: MIT OR Apache-2.0

[package]
name = "const-field-offset"
version = "0.2.0"
authors = ["Slint Developers <info@slint.dev>"]
edition = "2024"
rust-version = "1.88"
license = "MIT OR Apache-2.0"
description = "Derive macro providing const field offsets using core::mem::offset_of!"
repository = "https://github.com/slint-ui/slint"
homepage = "https://slint.dev"

[dependencies]
const-field-offset-macro = { version = "=0.2.0", path = "./macro" }
field-offset = "0.3.2"