mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-30 05:44:52 +00:00
Some fixup for the documentation
This commit is contained in:
parent
304b0e7b0e
commit
2c0fc29c5c
3 changed files with 6 additions and 5 deletions
|
@ -8,7 +8,7 @@ use core::pin::Pin;
|
|||
#[doc(inline)]
|
||||
pub use const_field_offset_macro::FieldOffsets;
|
||||
|
||||
pub use field_offset::*;
|
||||
pub use field_offset::{AllowPin, FieldOffset, NotPinned};
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
|
@ -155,6 +155,7 @@ union TransmutePinFlag<Container, Field, PinFlag> {
|
|||
y: FieldOffset<Container, Field>,
|
||||
}
|
||||
|
||||
/// Helper class used as the result of the addition of two stype that implement the `ConstFieldOffset` trait
|
||||
#[derive(Copy, Clone)]
|
||||
pub struct ConstFieldOffsetSum<A: ConstFieldOffset, B: ConstFieldOffset>(pub A, pub B);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue