pub struct ComponentContainerFieldsOffsets {
pub width: FieldOffset<ComponentContainer, Property<LogicalLength>, AllowPin>,
pub height: FieldOffset<ComponentContainer, Property<LogicalLength>, AllowPin>,
pub component_factory: FieldOffset<ComponentContainer, Property<ComponentFactory>, AllowPin>,
pub has_component: FieldOffset<ComponentContainer, Property<bool>, AllowPin>,
pub cached_rendering_data: FieldOffset<ComponentContainer, CachedRenderingData, AllowPin>,
/* private fields */
}
Expand description
Helper struct containing the offsets of the fields of the struct ComponentContainer
Generated from the #[derive(FieldOffsets)]
macro from the const-field-offset
crate
Fields§
§width: FieldOffset<ComponentContainer, Property<LogicalLength>, AllowPin>
§height: FieldOffset<ComponentContainer, Property<LogicalLength>, AllowPin>
§component_factory: FieldOffset<ComponentContainer, Property<ComponentFactory>, AllowPin>
§has_component: FieldOffset<ComponentContainer, Property<bool>, AllowPin>
§cached_rendering_data: FieldOffset<ComponentContainer, CachedRenderingData, AllowPin>
Auto Trait Implementations§
impl Freeze for ComponentContainerFieldsOffsets
impl !RefUnwindSafe for ComponentContainerFieldsOffsets
impl !Send for ComponentContainerFieldsOffsets
impl !Sync for ComponentContainerFieldsOffsets
impl !Unpin for ComponentContainerFieldsOffsets
impl !UnwindSafe for ComponentContainerFieldsOffsets
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more