i_slint_core::items

Trait ItemConsts

Source
pub trait ItemConsts: Sized {
    const cached_rendering_data_offset: FieldOffset<Self, CachedRenderingData>;
}
Expand description

Trait containing the associated constant relative to the trait Item.

Note: Was generated from the #[vtable] macro on ItemVTable

Required Associated Constants§

Source

const cached_rendering_data_offset: FieldOffset<Self, CachedRenderingData>

offset in bytes from the *const ItemImpl. isize::MAX means None

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl ItemConsts for BasicBorderRectangle

Source§

impl ItemConsts for BorderRectangle

Source§

impl ItemConsts for BoxShadow

Source§

impl ItemConsts for Clip

Source§

impl ItemConsts for ClippedImage

Source§

impl ItemConsts for ComplexText

Source§

impl ItemConsts for ComponentContainer

Source§

impl ItemConsts for ContextMenu

Source§

impl ItemConsts for Empty

Source§

impl ItemConsts for Flickable

Source§

impl ItemConsts for FocusScope

Source§

impl ItemConsts for ImageItem

Source§

impl ItemConsts for Layer

Source§

impl ItemConsts for Opacity

Source§

impl ItemConsts for Path

Source§

impl ItemConsts for Rectangle

Source§

impl ItemConsts for Rotate

Source§

impl ItemConsts for SimpleText

Source§

impl ItemConsts for SwipeGestureHandler

Source§

impl ItemConsts for TextInput

Source§

impl ItemConsts for TouchArea

Source§

impl ItemConsts for WindowItem