Struct tuix_internal::state::CachedData [−][src]
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
pub fn set_geo_changed(
&mut self,
node: <CachedData as Cache>::Item,
flag: GeometryChanged,
value: bool
)
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 the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for CachedData
impl Send for CachedData
impl Sync for CachedData
impl Unpin for CachedData
impl UnwindSafe for CachedData
Blanket Implementations
Mutably borrows from an owned value. Read more