Struct tuix::CachedData[]

pub struct CachedData {
    pub bounds: Vec<BoundingBox, Global>,
    pub visibility: Vec<Visibility, Global>,
    pub opacity: Vec<f32, Global>,
    pub hoverable: Vec<bool, Global>,
    pub focusable: Vec<bool, Global>,
    pub z_order: Vec<i32, Global>,
    pub clip_region: Vec<BoundingBox, Global>,
    pub space: Vec<Space, Global>,
    pub size: Vec<Size, Global>,
    pub geometry_changed: Vec<GeometryChanged, Global>,
    pub shadow_image: HashMap<Entity, (ImageId, ImageId), RandomState>,
    // some fields omitted
}

Fields

bounds: Vec<BoundingBox, Global>visibility: Vec<Visibility, Global>opacity: Vec<f32, Global>hoverable: Vec<bool, Global>focusable: Vec<bool, Global>z_order: Vec<i32, Global>clip_region: Vec<BoundingBox, Global>space: Vec<Space, Global>size: Vec<Size, Global>geometry_changed: Vec<GeometryChanged, Global>shadow_image: HashMap<Entity, (ImageId, ImageId), RandomState>

Implementations

Trait Implementations

Get the computed width of a node

Get the computed height of a node

Get the computed x position of a node

Get the computed y position of a node

Get the computed maximum width of the child nodes

Get the computed sum of the widths of the child nodes

Get the computed maximum width of the child nodes

Get the computed sum of the widths of the child nodes

Get the computed maximum grid row

Get the computed maximum grid column

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.